-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
wyp.toml
40 lines (33 loc) · 794 Bytes
/
wyp.toml
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[scripts.start]
root = true
help = "start backend and frontend"
combine = ["frontend", "backend"]
[scripts.frontend]
help = "start frontend watcher"
dir = "./frontend"
run = "npm start"
[scripts.backend]
help = "start dev server"
run = "docker-compose up web"
[scripts.down]
root = true
help = "shut down Docker"
run = "docker-compose down"
[scripts.production]
help = "start backend with production frontend builds"
combine = ["backend"]
run = "npm run build"
dir = "./frontend"
[scripts.build]
root = true
help = "build frontend"
dir = "./frontend"
run = "npm run build"
[scripts.test]
root = true
help = "run tests"
run = "go test ./... | grep -vE '(no test files)'"
[scripts.migrate]
root = true
help = "run database migrations"
run = "docker-compose run web manage migrate forward"