from myapi import create_app if __name__ == '__main__': app = create_app('config.test') app.run(host='0.0.0.0', debug=True)
from myapi import create_app app = create_app('config.webapiconfig')
from myapi import create_app if __name__ == '__main__': app = create_app('config.dev') app.run()