Raphael Maenle
dbb6d170da
- starts uwsgi and flask in virtual environment instead of docker - sets oauth2 https error to false (OAUTHLIB_INSECURE_TRANSPORT=1) - this setup works, but - moving it into docker - removing the venv - and allowing https connection internally? would be better
11 lines
309 B
Python
11 lines
309 B
Python
# Configuration
|
|
from server import app
|
|
from backend import routine
|
|
|
|
# routine.start()
|
|
|
|
if __name__ == "__main__":
|
|
context = ('certificate/xip.io.crt', 'certificate/xip.io.key')#certificate and key files
|
|
# app.run('0.0.0.0', 8084, ssl_context='adhoc', debug=True)
|
|
app.run(host='0.0.0.0', port=8084)
|