Skip to content

Instantly share code, notes, and snippets.

@suhanlee
Last active June 13, 2016 06:01
Show Gist options
  • Save suhanlee/1d37bffc478dac5c0811e7553ace0280 to your computer and use it in GitHub Desktop.
Save suhanlee/1d37bffc478dac5c0811e7553ace0280 to your computer and use it in GitHub Desktop.
Flask basic app deploy for heroku
from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello, World!'
if __name__ == '__main__':
app.run()
web: gunicorn app:app
Flask==0.11
Jinja2==2.8
gunicorn==19.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment