Simple Django Application with a Postgres Database, hosted on heroku.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mysite
project_mysite
.gitignore
Pipfile
Pipfile.lock
Procfile
README.md
env.sample
manage.py

README.md

Simple One Page Django Application

This repo contains code for a very simple one page django application with a postgres database, deployed with heroku. It's used to support a blog post Getting started with Divio

Usage

  • Clone the repository
  • cd into project directory
  • Create virtual environment by using the command pipenv shell
  • Install dependencies with pipenv install
  • create postgres database and setup connection in settings.py
  • Run python manage.py makemiigrations and python manage.py migrate in project directory to migrate database
  • Start application with python manage.py runserver