def dropAllMain(): app = CreateApp.Main() from caten_music.models.base import db db.drop_all()
def createAllMain(): app = CreateApp.Main() from caten_music.models.base import db db.create_all()
# run.py from caten_music import CreateApp app = CreateApp.Main() if __name__ == "__main__": app.run(host='0.0.0.0')