def run_webserver(name, env): conf.configure_flapp(env) flapp.logger.debug('Running webserver with config: %s'%flapp.config) flapp.run(port = flapp.config['PORT'])
#!/usr/bin/python from app import flapp flapp.run(debug=True, host='0.0.0.0')
def run_webserver(name, env): conf.configure_flapp(env) flapp.logger.debug('Running webserver with config: %s' % flapp.config) flapp.run(port=flapp.config['PORT'])
def run_webserver(name, env): conf.configure_flapp(env) application.logger.debug('Running webserver with config: %s' % application.config) application.run()
def run_webserver(name, env): conf.configure_flapp(env) application.logger.debug('Running webserver with config: %s'%application.config) application.run()