How to set up osqa at webfaction

隐身守侯 提交于 2020-01-03 03:11:27

问题


requirements.txt file:

django>=1.1 mysql-python python-openid psycopg2 html5lib markdown git+git://github.com/dcramer/django-sphinx.git South

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

And remember don't do pip install which install into 2.4; need to invoke pip-2.7 install


回答1:


  1. Go here.
  2. Click "Install".
  3. Add the OSQA app that you just created to your site.
  4. Done!



回答2:


Just to share, I installed OSQA on Webfaction following SeanF's instructions above and it was a breeze. I could even customize the script a little bit. Now the work is on customizing the site, not spending countless setting up the deployment. Thanks Webfaction and SeanF.



来源:https://stackoverflow.com/questions/9285892/how-to-set-up-osqa-at-webfaction

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!