Feature: Add bootstrap command in Makefile

This commit is contained in:
winkidney
2018-12-29 16:18:03 +08:00
parent ddd9f73d21
commit 4ec3e20500
2 changed files with 4 additions and 1 deletions

View File

@@ -6,6 +6,9 @@ migrate:
pipenv run python manage.py migrate
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:

View File

@@ -29,7 +29,7 @@ Quick Start for Developers
You need only three following lines to initialize your pinry::
make install
make bootstrap
make serve
Now the development server has been running, enjoy : )