Exemple #1
0
from myapi import create_app

if __name__ == '__main__':
    app = create_app('config.test')
    app.run(host='0.0.0.0', debug=True)
Exemple #2
0
from myapi import create_app

app = create_app('config.webapiconfig')

Exemple #3
0
from myapi import create_app

if __name__ == '__main__':
    app = create_app('config.dev')
    app.run()