old_contents: # -*- coding: utf-8 -*-
  # Created by zhangzhuo@360.cn on 17/6/20
  from gevent.wsgi import WSGIServer
  from web_admin import app
  
  
  def main():
      app.debug = True
      print app.url_map
      server = WSGIServer(("0.0.0.0", 5000), app)
      server.serve_forever()
  
  
  if __name__ == '__main__':
      main()
  
new_contents: # -*- coding: utf-8 -*-
  # Created by zhangzhuo@360.cn on 17/6/20
  from gevent.wsgi import WSGIServer
  from web_admin import app
  
  
  def main():
      print 'AMQP_URI:', app.config['AMQP_URI']
      print 'REDIS_URL:', app.config['REDIS_URL']
  
      app.debug = True
      print app.url_map
      server = WSGIServer(("0.0.0.0", 5000), app)
      server.serve_forever()
  
  
  if __name__ == '__main__':
      main()
  
subject: print setting