Created
March 28, 2021 00:28
-
-
Save cdove99/01dcdcfc103f7397c16060347b5f510c to your computer and use it in GitHub Desktop.
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
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