Robot
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
569 B

4 years ago
#!/usr/bin/env python3
from roberto import create_app
# Call the Application Factory function to construct a Flask application instance
# using the standard configuration defined in /instance/flask.cfg
app = create_app('config.cfg')
4 years ago
if __name__ == '__main__':
#app.run(host='0.0.0.0', debug=False, threaded=True)
#app.run(host='0.0.0.0', debug=False, threaded=True, ssl_context='adhoc')
from roberto import socketio
socketio.run(
app,
host='0.0.0.0',
port=5000,
4 years ago
# certfile='cert.pem',
# keyfile='key.pem'
)