目录

relmandash

This project runs on Flask - follow the instructions below to check out the code!

. Check out the code::

git clone git://github.com/mozilla/relmandash.git

. (optional) Create your virtualenv using virtualenvwrapper::

mkvirtualenv --no-site-packages relmandash

. If you need to, install pip::

easy_install pip

. Install the dependencies for relmandash::

pip install -r requirements.txt

. Create a config.py file and input your postgres database info::

    DB_URL='postgresql://user:password@localhost/database_name'

. Run dashboard.py to try out the application locally::

python runserver.py db_setup --> to set up database and run server
python runserver.py         --> to run server only

In a WSGI deploymnt scenario, make sure to add your virtualenv’s site-packages to the WSGIPythonPath so that the app can find bztools and others

Also if you encounter problems finding Postgres lib (on Mac) then run the following to put them in your path

$ sudo ln -s /Library/PostgreSQL/9.2/lib/libssl.1.0.0.dylib /usr/lib
$ sudo ln -s /Library/PostgreSQL/9.2/lib/libcrypto.1.0.0.dylib /usr/lib
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号