This repository has been archived on 2020-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
2020-07-04 11:12:31 +00:00
|
|
|
"""Bootstrap the application for web serving."""
|
|
|
|
import os
|
|
|
|
|
|
|
|
from magic_app.app import create_app
|
|
|
|
from magic_app.config import CONFIG
|
|
|
|
|
2020-07-04 23:21:17 +00:00
|
|
|
config = CONFIG[os.environ["FLASK_ENV"]]
|
2020-07-05 15:33:29 +00:00
|
|
|
|
2020-07-04 11:12:31 +00:00
|
|
|
app = create_app(config=config)
|