2020-04-02 14:22:59 +02:00
|
|
|
# Configuration
|
2020-04-22 22:15:21 +02:00
|
|
|
from server import app
|
2020-04-24 19:54:56 +02:00
|
|
|
from backend import routine
|
|
|
|
|
2020-05-09 09:44:15 +02:00
|
|
|
# routine.start()
|
2020-04-14 22:11:34 +02:00
|
|
|
|
2020-04-02 14:22:59 +02:00
|
|
|
if __name__ == "__main__":
|
2020-04-07 18:29:51 +02:00
|
|
|
context = ('certificate/xip.io.crt', 'certificate/xip.io.key')#certificate and key files
|
2020-05-10 20:31:42 +02:00
|
|
|
# app.run('0.0.0.0', 8084, ssl_context='adhoc', debug=True)
|
2020-05-15 16:00:54 +02:00
|
|
|
app.run(host='0.0.0.0', port=8084, debug=True)
|