mirror of
https://github.com/alerta/alerta.git
synced 2025-01-30 11:36:20 +00:00
18 lines
303 B
Python
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
|