20 lines
504 B
Executable File

#!/usr/bin/env python2
Flask standalone server. Intended for development use only.
With this script flask will spawn a http server bound to socket
Per default, debugging is turned on. On any changes to the flask application
source files, the server will automatically reload.
from flask_d3d3 import app
if __name__ == "__main__":
port = 5000
# Set up the development server on port 8000.
app.debug = True
app.run(host='', port=port, threaded=False)