0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-01-30 19:46:21 +00:00
alerta_alerta/alerta/dashboard/v2/__init__.py
2014-04-03 15:05:02 +01:00

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