Skip to content

Cepave/portal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Packages

No packages published

Languages

  • JavaScript 62.1%
  • HTML 13.7%
  • Python 12.0%
  • CSS 11.8%
  • Shell 0.4%