-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
53 lines (37 loc) · 1.03 KB
/
Makefile
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
41
42
43
44
45
46
47
48
49
50
51
52
53
-include .env
.SILENT:
build:
docker-compose build
init: up migrate run
logs:
docker-compose logs --follow
migrate:
docker-compose exec fittrackee scripts/migrate.sh
rebuild:
docker-compose build --no-cache
redis:
docker-compose up -d redis
restart:
docker-compose exec fittrackee supervisorctl restart fittrackee
run-all:
# start fittrackee web application and fittrackee workers
docker-compose exec fittrackee supervisorctl start all
run: up
# start fittrackee web application
docker-compose exec fittrackee supervisorctl start fittrackee
run-workers: up redis
# start fittrackee workers
docker-compose exec fittrackee supervisorctl start fittrackee-workers
shell:
docker-compose exec fittrackee scripts/shell.sh
set-admin:
docker-compose exec fittrackee scripts/set-admin.sh $(USERNAME)
stop:
docker-compose stop fittrackee fittrackee-db
docker-compose stop redis
stop-all:
docker-compose exec fittrackee supervisorctl stop all
up:
docker-compose up -d
update:
docker-compose exec fittrackee scripts/update-fittrackee.sh