Skip to content

Instantly share code, notes, and snippets.

@cdove99
Created March 28, 2021 00:28
Show Gist options
  • Save cdove99/01dcdcfc103f7397c16060347b5f510c to your computer and use it in GitHub Desktop.
Save cdove99/01dcdcfc103f7397c16060347b5f510c to your computer and use it in GitHub Desktop.
import os
from flask import Flask
def create_app():
app = Flask(__name__)
app.config.from_object('config.config')
# for route in routes:
# app.register_blueprint(route)
if __name__ == "__main__":
application = create_app()
application.run(host="0.0.0.0", port=8080)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment