Skip to content

Instantly share code, notes, and snippets.

@pyk
Last active February 18, 2019 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pyk/f9c183466062e8ff63efaa46e7c5485f to your computer and use it in GitHub Desktop.
Save pyk/f9c183466062e8ff63efaa46e7c5485f to your computer and use it in GitHub Desktop.
from flask import Flask
import config
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run(host="0.0.0.0", port=config.PORT, debug=config.DEBUG_MODE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment