from flaskr.app import app
from flaskr.models import initialize_database
from flaskr.config import config


if __name__ == '__main__':
	initialize_database()
	app.run(
		debug=config['flaskr']['debug'],
		host=config['flaskr']['host']
	)
Exemple #2
0
from flaskr.app import app

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=8000, debug=True)
Exemple #3
0
from flaskr.app import app

if __name__ == '__main__':
    app.run(debug=False)
Exemple #4
0
from flaskr.app import app

if __name__ == "__main__":
    app.run()
Exemple #5
0
from flaskr.app import app

if __name__ == '__main__':
    app.run(debug=True,
            ssl_context=('credentials/ssl.crt', 'credentials/ssl.key'))
Exemple #6
0
from flaskr.app import app

if __name__ == '__main__':
    app.run(debug=True, host='0.0.0.0')
Exemple #7
0
import sys

sys.path.insert(0, '/home/ubuntu/testing_workshop/')
from flaskr.app import app as application

if __name__ == "__main__":
    application.run()
Exemple #8
0
from flaskr.app import app

if __name__ == "__main__":
    print("it works now")
    app.run(debug=True)