Skip to content

open-falcon-archive/portal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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