Loaddata command
This commit is contained in:
parent
9e39e199cb
commit
3fe4a8ecae
1 changed files with 2 additions and 3 deletions
5
Makefile
5
Makefile
|
@ -86,9 +86,8 @@ backup-images:
|
||||||
|
|
||||||
backup: backup-data backup-images
|
backup: backup-data backup-images
|
||||||
|
|
||||||
django-loaddata:
|
loaddata:
|
||||||
gunzip ~/publichealth.home.json.gz
|
docker-compose exec web ./manage.py loaddata publichealth.home.json
|
||||||
docker-compose exec web ./manage.py loaddata ~/publichealth.home.json
|
|
||||||
|
|
||||||
restore: django-loaddata restart
|
restore: django-loaddata restart
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue