#!/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' )