Created
September 16, 2013 12:54
-
-
Save callmephilip/6580321 to your computer and use it in GitHub Desktop.
Chatzilla gists
This file contains hidden or 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 gevent import monkey | |
| from flask import Flask | |
| monkey.patch_all() | |
| application = Flask(__name__) | |
| application.debug = True | |
| application.config['PORT'] = 5000 | |
| @application.route('/', methods=['GET']) | |
| def landing(): | |
| return "Welcome to Chatzilla" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment