Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (22 sloc) 0.592 kb
b10c836 @jamesward init
authored
1 Getting Started with Python on Heroku
2 =====================================
3
4 Run Locally
5 -----------
6
7 1. Setup virtualenv
8
9 virtualenv venv --distribute
10
11 2. Activate virtualenv:
12
13 source venv/bin/activate
14
15 3. Get the deps:
16
17 pip install -r requirements.txt
18
19 4. Start Flask Server
20
21 python web.py
22
23 5. Test out the app
24
25 [http://localhost:5000](http://localhost:5000)
26
27
28 Run on Heroku
29 -------------
30
31 1. Create the app
32
33 heroku create -s cedar
34
35 2. Deploy the app
36
37 git push heroku master
38
39 3. Open the app in your browser
40
41 heroku open
42
Something went wrong with that request. Please try again.