-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
35 lines (24 loc) · 903 Bytes
/
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
deploy: git-pull
docker-compose --env-file .env up --build -d
force-deploy: git-pull
docker-compose --env-file .env up -d --build --force-recreate
force-deploy-no-cache: git-pull
docker-compose --env-file .env build
docker-compose --env-file .env up -d --force-recreate
deploy-staging: git-pull
docker-compose -f docker-compose.staging.yaml --env-file .env up --build -d
force-deploy-staging: git-pull
docker-compose -f docker-compose.staging.yaml --env-file .env build
docker-compose -f docker-compose.staging.yaml --env-file .env up -d --force-recreate
start-dev:
docker-compose --env-file .env up --build --force-recreate -d
stop:
docker-compose --env-file .env stop
git-pull:
git pull origin master;
logs:
docker-compose logs -f
create-superuser:
docker-compose exec admin python manage.py createsuperuser
load-admin-fixtures:
cd backend && make load-admin-fixtures