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.
 
 
 
 
 

19 lines
569 B

#!/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')
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,
# certfile='cert.pem',
# keyfile='key.pem'
)