mirror of
https://github.com/HaitiData/haitidata.git
synced 2026-10-27 09:55:53 +00:00
30 lines
559 B
Makefile
30 lines
559 B
Makefile
up:
|
|
# bring up the services
|
|
docker-compose up -d
|
|
|
|
build:
|
|
docker-compose build django
|
|
docker-compose build celery
|
|
|
|
sync:
|
|
# set up the database tablea
|
|
docker-compose run django python manage.py makemigrations --noinput
|
|
docker-compose exec django python manage.py migrate account --noinput
|
|
docker-compose run django python manage.py migrate --noinput
|
|
|
|
wait:
|
|
sleep 5
|
|
|
|
logs:
|
|
docker-compose logs --follow
|
|
|
|
down:
|
|
docker-compose down
|
|
|
|
test:
|
|
docker-compose run django python manage.py test --failfast
|
|
|
|
reset: down up wait sync
|
|
|
|
hardreset: pull build reset
|