/portal

告警配置和管理页面

Primary LanguageJavaScriptApache License 2.0Apache-2.0

falcon portal

Install dependency

# yum install -y python-virtualenv

$ cd /home/work/open-falcon/portal/
$ virtualenv ./env

# use douban pypi
$ ./env/bin/pip install -r pip_requirements.txt -i http://pypi.douban.com/simple

Init database and config

  • database schema: scripts/schema.sql
  • database config: frame/config.py

Start

$ ./env/bin/python wsgi.py

--> goto http://127.0.0.1:5050

Run with gunicorn

$ . env/bin/activate
$ bash run.sh

--> goto http://127.0.0.1:5050