【发布时间】:2012-03-06 08:27:37
【问题描述】:
requirements.txt 文件:
django>=1.1 mysql-python python-openid 心理咨询师2 html5lib 降价 git+git://github.com/dcramer/django-sphinx.git 南
首先,virtualenv ~/webapps/ --distribute 来源 ~/webapps//bin/activate export PATH=/usr/pgsql-9.1/bin/:$PATH (这是为了避免 pg_config not found 错误 http://community.webfaction.com/questions/736/installing-psycopg2) 然后 pip-2.7 install -r requirements.txt
记住不要安装到 2.4 中的 pip install;需要调用 pip-2.7 安装
【问题讨论】:
-
上面自己回答了。其他资源包括wiki.osqa.net/display/docs/Installing+OSQA+on+WebFaction,它可以帮助设置wsgi文件。
标签: webfaction osqa