lenticular_cloud2/wsgi.py

13 lines
309 B
Python
Raw Normal View History

2020-05-09 18:00:07 +00:00
import logging
2020-05-21 11:20:27 +00:00
from lenticular_cloud.app import init_app
2020-05-09 18:00:07 +00:00
name = 'oidc_provider'
2020-05-21 11:20:27 +00:00
app = init_app(name)
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)