mirror of
https://github.com/pinry/pinry.git
synced 2025-11-15 17:35:50 +01:00
Feature: Add backup/install/test commands in Makefile
This commit is contained in:
14
Makefile
Normal file
14
Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
backup-images:
|
||||
pipenv run python manage.py dumpdata django_images > db-backup.django_images.json
|
||||
backup-all:
|
||||
pipenv run python manage.py dumpdata > db-backup.all.json
|
||||
migrate:
|
||||
pipenv run python manage.py migrate
|
||||
recover-all:
|
||||
pipenv run python manage.py loaddata db-backup.all.json
|
||||
serve:
|
||||
pipenv run python manage.py runserver 0.0.0.0:8000
|
||||
install:
|
||||
pipenv install
|
||||
test:
|
||||
pipenv run python manage.py test
|
||||
Reference in New Issue
Block a user