0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-01-30 11:36:20 +00:00
alerta_alerta/alerta/dashboard/v2/__init__.py
2013-10-22 14:34:31 +01:00

18 lines
303 B
Python

from flask import Flask
from alerta.common import config
from alerta.common import log as logging
Version = '2.0.1'
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