mirror of
https://github.com/alerta/alerta.git
synced 2025-01-29 03:11:34 +00:00
15 lines
359 B
Python
Executable file
15 lines
359 B
Python
Executable file
#!/usr/bin/env python
|
|
|
|
import sys
|
|
|
|
from alerta.common import config
|
|
from alerta.common import log as logging
|
|
from alerta.dashboard.v2 import app, Version
|
|
|
|
LOG = logging.getLogger('alerta.dashboard')
|
|
CONF = config.CONF
|
|
|
|
if __name__ == '__main__':
|
|
config.parse_args(version=Version)
|
|
logging.setup('alerta')
|
|
app.run(host='0.0.0.0', debug=CONF.debug)
|