123456789101112131415161718192021 |
- import logging
- from logging.config import dictConfig
- from lakesuperior import env
- env.setup()
- from lakesuperior.app import create_app
- dictConfig(env.app_globals.config['logging'])
- logger = logging.getLogger(__name__)
- fcrepo = create_app(env.app_globals.config['application'])
- def run():
- fcrepo.run(host='0.0.0.0')
- if __name__ == "__main__":
- run()
|