-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
24 lines (16 loc) · 868 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
fastbuild:
ENVIRONMENT=production docker compose up -d --build
build: ## TODO: dev/stage/prod
ENVIRONMENT=production docker compose up -d --build --force-recreate --remove-orphans
superuser: ## creates a superuser for the backend
docker compose exec rapidpro-temba python3 manage.py createsuperuser
drop-db: ## drops the database
docker compose down -t 60
docker volume rm rapidpro-pgdata
migrate: ## apply migrations in a clean container
docker compose exec rapidpro-temba python3 manage.py migrate
pyshell: ## start a django shell
docker compose exec rapidpro-temba python3 manage.py shell
shell: ## start bash
docker compose exec rapidpro-temba bash
## TODO: Update the SSL certificates for NGINX