Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 529 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 529 Bytes

Django

Initial Setup for non-Docker local

  1. Install Postgres (OSX - brew install postgresql; Linux - apt-get)
  2. Copy .env.example to new file .env
  3. Run ./init-db.sh from the scripts directory (or view and manually create the database)

Once db credentials are set:

  1. run pipenv install to install dependencies
  2. run pipenv shell to activate the pipenv shell
  3. run python manage.py migrate to migrate database
  4. run python manage.py runserver to run the Django API (default - localhost:8000/admin)