lenticular_cloud2/wsgi.py

12 lines
286 B
Python
Raw Normal View History

2020-05-09 18:00:07 +00:00
import logging
2022-02-06 22:57:01 +00:00
from lenticular_cloud.app import create_app
2020-05-09 18:00:07 +00:00
2022-02-06 22:57:01 +00:00
app = create_app()
2020-05-09 18:00:07 +00:00
logging.basicConfig(level=logging.DEBUG)
if __name__ == "__main__":
2020-05-21 11:20:27 +00:00
#app.run(ssl_context=('https.crt', 'https.key'), debug=True, host='127.0.0.1')
app.run(debug=True, host='127.0.0.1', port=9090)