Exemple #1
0
def start():
    " Starts local development server "
    sys.path.append('./')
    from app_name import app
    app.run(debug=True, host='0.0.0.0')
#!/usr/bin/env python
from app_name import app
app.run()
Exemple #3
0
from app_name import app


if __name__ == "__main__":
    app.run(debug=True)
Exemple #4
0
from app_name import app

if __name__ == '__main__':
    app.run(use_reloader=True, threaded=True, host='127.0.0.1')
from app_name import app, db

if __name__ == '__main__':
    app.run()
Exemple #6
0
from app_name import app as application

if __name__ == '__main__':
    application.run()