-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathdevbox.json
More file actions
26 lines (26 loc) · 818 Bytes
/
devbox.json
File metadata and controls
26 lines (26 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.16.0/.schema/devbox.schema.json",
"packages": [
"elixir@latest",
"postgresql@latest",
"nodejs@latest"
],
"shell": {
"init_hook": [
"echo 'Welcome to devbox!' > /dev/null"
],
"scripts": {
"test": [
"echo \"Error: no test specified\" && exit 1"
],
"db:start": [
"pg_ctl -D .devbox/virtenv/postgresql/data -l .devbox/virtenv/postgresql/data/postgresql.log -o \"-k $PWD/.devbox/virtenv/postgresql/data\" start",
"ln -sf data/.s.PGSQL.5432 .devbox/virtenv/postgresql/.s.PGSQL.5432",
"ln -sf data/.s.PGSQL.5432.lock .devbox/virtenv/postgresql/.s.PGSQL.5432.lock"
],
"db:stop": [
"pg_ctl -D .devbox/virtenv/postgresql/data stop"
]
}
}
}