-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
28 lines (19 loc) · 917 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
certs:
chmod +x deploy.sh
mkcert --cert-file ./caddy/cert.crt --key-file ./caddy/cert.key localhost analytics.localhost
makemigrations:
docker-compose -f development.yml exec django python manage.py makemigrations
collectstatic:
docker-compose -f development.yml exec django python manage.py collectstatic --noinput
migrate:
docker-compose -f development.yml exec django python manage.py migrate
showmigrations:
docker-compose -f development.yml exec django python manage.py showmigrations
hasura:
hasura console --admin-secret onroad --console-port 9800 --endpoint https://localhost/hasura/ --project hasura
seed:
hasura seeds apply --endpoint https://localhost/hasura/ --admin-secret onroad -C hasura
caddy-reload-dev:
docker-compose -f development.yml exec caddy caddy reload --config /etc/caddy/Caddyfile
caddy-reload-prod:
docker-compose exec caddy caddy reload --config /etc/caddy/Caddyfile