Skip to content
This repository was archived by the owner on Jul 16, 2020. It is now read-only.

Deploying To Heroku

bschoenfeld edited this page Feb 21, 2013 · 3 revisions

Deploying Flask Web Application To Heroku

Loosely follow this guide: https://devcenter.heroku.com/articles/python

  1. Install Python 2.7 and Virtualenv. See this guide for guidance.

  2. Install the Heroku Toolbelt on your local workstation.

  3. Install Flask

pip install Flask
  1. Fork this repo and check it out on your local machine.

  2. Create a file named .env in the root of the repo and give it the following content.

MONGO_URI=mongodb://hrt_web_app:[email protected]:45897/hrt
  1. In the top level directory, create a Virtualenv (v0.7):
virtualenv venv --distribute
  1. Activate the new environment
source venv/bin/activate
  1. Run the app!
foreman start
Clone this wiki locally