- Install Postgres (OSX -
brew install postgresql
; Linux -apt-get
) - Copy .env.example to new file .env
- Run
./init-db.sh
from thescripts
directory (or view and manually create the database)
Once db credentials are set:
- run
pipenv install
to install dependencies - run
pipenv shell
to activate the pipenv shell - run
python manage.py migrate
to migrate database - run
python manage.py runserver
to run the Django API (default - localhost:8000/admin)