Last active
June 13, 2016 06:01
-
-
Save suhanlee/1d37bffc478dac5c0811e7553ace0280 to your computer and use it in GitHub Desktop.
Flask basic app deploy for heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
app = Flask(__name__) | |
@app.route('/') | |
def hello_world(): | |
return 'Hello, World!' | |
if __name__ == '__main__': | |
app.run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web: gunicorn app:app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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