Skip to content
Repo to accompany a 2 part series of blog posts about adding Postgres to your Django app and deploying to Heroku
Python HTML
Branch: master
Clone or download
Latest commit d46c926 Jun 22, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
sampledeploy changed DEBUG to False in settings.py Jun 22, 2017
.gitignore updates to settings, app works Jun 16, 2017
README.md Update README.md Jun 22, 2017

README.md

deploying-django

Repo to accompany a 2 part series of blog posts about adding Postgres to your Django app and deploying to Heroku

Related blog posts in Agatha

Painless Postgres + Django - up to commit c74a7bee1770b74361dab1c77e1486c4426968e7

9 Straightforward Steps for Deploying Your Django App with Heroku

Running the app

This app uses Django 1.11, Python 3.5, and PostgreSQL 9.6.

  • Create and activate a virtual environment
  • Run pip install -r requirements.txt
  • Complete steps 1 & 2 in this post
  • Create environment variables for the database credentials and source them correctly in the settings.py file
  • Migrate as shown in step 4 in this post
You can’t perform that action at this time.