forked from pinry/pinry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
33 lines (33 loc) · 825 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
29
30
31
32
33
dev-docker-serve:
docker-compose up web
dev-docker-build-frontend:
docker-compose up build_frontend
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
makemigrations:
pipenv run python manage.py makemigrations
recover-all:
pipenv run python manage.py loaddata db-backup.all.json
bootstrap:
make install
pipenv run python manage.py collectstatic
serve:
pipenv run python manage.py runserver 0.0.0.0:8000
install:
pipenv install
test:
pipenv run python manage.py test
shell:
pipenv run python manage.py shell
flake8:
pipenv run flake8
docs-serve:
pipenv run mkdocs serve
docs-build:
pipenv run mkdocs build
docs-publish:
pipenv run mkdocs gh-deploy