예제 #1
0
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']
	)
예제 #2
0
from flaskr.app import app

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=8000, debug=True)
예제 #3
0
파일: run.py 프로젝트: uwrit/r2m2
from flaskr.app import app

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

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

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

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

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

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

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