adds structure for virtual environment uwsgi and http communication

- 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
This commit is contained in:
2020-05-10 20:31:42 +02:00
parent 76a8b97ae4
commit dbb6d170da
43 changed files with 742 additions and 4 deletions

6
app.py
View File

@ -6,7 +6,5 @@ from backend import routine
if __name__ == "__main__":
context = ('certificate/xip.io.crt', 'certificate/xip.io.key')#certificate and key files
app.run('0.0.0.0', 1234, ssl_context=context, debug=True)
# app.run('0.0.0.0', 8084, ssl_context='adhoc', debug=True)
app.run(host='0.0.0.0', port=8084)