You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 line
477 B

  1. backup-images:
  2. pipenv run python manage.py dumpdata django_images > db-backup.django_images.json
  3. backup-all:
  4. pipenv run python manage.py dumpdata > db-backup.all.json
  5. migrate:
  6. pipenv run python manage.py migrate
  7. recover-all:
  8. pipenv run python manage.py loaddata db-backup.all.json
  9. bootstrap:
  10. make install
  11. pipenv run python manage.py collectstatic
  12. serve:
  13. pipenv run python manage.py runserver 0.0.0.0:8000
  14. install:
  15. pipenv install
  16. test:
  17. pipenv run python manage.py test