Browse Source

Feature: Add bootstrap command in Makefile

tags/v2.0.1
winkidney 5 years ago
parent
commit
4ec3e20500
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      Makefile
  2. +1
    -1
      README.rst

+ 3
- 0
Makefile View File

@@ -6,6 +6,9 @@ migrate:
pipenv run python manage.py migrate pipenv run python manage.py migrate
recover-all: recover-all:
pipenv run python manage.py loaddata db-backup.all.json pipenv run python manage.py loaddata db-backup.all.json
bootstrap:
make install
pipenv run python manage.py collectstatic
serve: serve:
pipenv run python manage.py runserver 0.0.0.0:8000 pipenv run python manage.py runserver 0.0.0.0:8000
install: install:


+ 1
- 1
README.rst View File

@@ -29,7 +29,7 @@ Quick Start for Developers


You need only three following lines to initialize your pinry:: You need only three following lines to initialize your pinry::


make install
make bootstrap
make serve make serve


Now the development server has been running, enjoy : ) Now the development server has been running, enjoy : )


Loading…
Cancel
Save