mirror of
https://github.com/alerta/alerta.git
synced 2025-01-30 19:46:21 +00:00
18 lines
311 B
Python
18 lines
311 B
Python
|
|
from flask import Flask
|
|
|
|
from alerta.common import config
|
|
from alerta.common import log as logging
|
|
|
|
__version__ = '3.0.2'
|
|
|
|
LOG = logging.getLogger(__name__)
|
|
CONF = config.CONF
|
|
|
|
config.parse_args(version=__version__)
|
|
logging.setup('alerta')
|
|
|
|
app = Flask(__name__)
|
|
app.config.from_object(__name__)
|
|
|
|
import views
|