server.py 362 B

12345678910111213
  1. from lakesuperior.app import create_app
  2. from lakesuperior.config_parser import config
  3. from lakesuperior.globals import AppGlobals
  4. from lakesuperior.env import env
  5. env.config = config
  6. env.app_globals = AppGlobals(config)
  7. dictConfig(env.config['logging'])
  8. fcrepo = create_app(env.config['application'])
  9. if __name__ == "__main__":
  10. fcrepo.run(host='0.0.0.0')