""" Development server. This server is intended for development only: it enables debugging tools, and use a different port so it can more easily interface with other applications. """ import signal import sys from application import app import config signal.signal(signal.SIGINT, lambda x, y: sys.exit(0)) if __name__ == '__main__': app.run( debug=config.FLASK_DEBUG, host=config.FLASK_HOST, port=config.FLASK_PORT)