ro6ley / plaindjango

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HitCount

Deploying a Django Application on Heroku

This repository contains the code for this blogpost.

Getting Started

Prerequisites

Kindly ensure you have the following installed on your machine:

Running the Application

  1. Clone the repository
$ git clone https://github.com/ro6ley/plaindjango.git
  1. Check into the cloned repository
$ cd plaindjango
  1. Setup the virtual environment and start it as follows:
$ virtualenv --python=python3 env --no-site-packages
$ source env/bin/activate
  1. Install the requirements
$ pip install -r requirements.txt
  1. Start the Django API
$ python manage.py runserver
  1. Navigate to http://localhost:8000

  2. Deploy on Heroku as outlined in this article

Contribution

Please feel free to raise issues using this template and I'll get back to you.

You can also fork the repository, make changes and submit a Pull Request using this template.

About


Languages

Language:Python 100.0%