如何在WebFaction上设置OSQA [英] How to set up osqa at webfaction
问题描述
requirements.txt文件:
requirements.txt file:
django> = 1.1 MySQL的Python python-openid psycopg2 html5lib 降价 git + git://github.com/dcramer/django-sphinx.git 南
django>=1.1 mysql-python python-openid psycopg2 html5lib markdown git+git://github.com/dcramer/django-sphinx.git South
首先,virtualenv〜/webapps/--distribute 源〜/webapps//bin/activate 导出PATH =/usr/pgsql-9.1/bin/:$ PATH(这是为了避免pg_config找不到错误 http://community.webfaction.com/questions/736/installing-psycopg2 ) 然后 pip-2.7安装-r requirements.txt
first, virtualenv ~/webapps/ --distribute source ~/webapps//bin/activate export PATH=/usr/pgsql-9.1/bin/:$PATH (this is to avoid the pg_config not found error http://community.webfaction.com/questions/736/installing-psycopg2) then pip-2.7 install -r requirements.txt
请记住不要将pip install安装到2.4中;需要调用pip-2.7 install
And remember don't do pip install which install into 2.4; need to invoke pip-2.7 install
推荐答案
- 在此处.
- 点击安装".
- 将您刚创建的OSQA应用添加到您的网站.
- 完成!
- Go here.
- Click "Install".
- Add the OSQA app that you just created to your site.
- Done!
这篇关于如何在WebFaction上设置OSQA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!