Flask Web Development P75~85 Summary 3
Launch Script
import osfrom app import create_app, dbfrom app.models import User, Rolefrom flask_migrate import Migrateapp = create_app(os.getenv('FLASK_CONFIG') or 'default')migrate = Migrate(app, db)@app.shell_context_processordef make_sh