You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
387 B
14 lines
387 B
import os
|
|
from flask import Flask
|
|
# from flask_sqlalchemy import SQLAlchemy
|
|
#db = SQLAlchemy()
|
|
#migrate = Migrate()
|
|
|
|
def create_app():
|
|
APP = Flask(__name__)
|
|
#APP.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///data/crunk_data.db"
|
|
#APP.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = True
|
|
# db.init_app(APP)
|
|
# migrate.init_app(APP, db, render_as_batch=True)
|
|
|
|
return APP
|
|
|