如何在WebFaction上设置OSQA [英] How to set up osqa at webfaction

查看:113
本文介绍了如何在WebFaction上设置OSQA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

推荐答案

  1. 此处.
  2. 点击安装".
  3. 将您刚创建的OSQA应用添加到您的网站.
  4. 完成!
  1. Go here.
  2. Click "Install".
  3. Add the OSQA app that you just created to your site.
  4. Done!

这篇关于如何在WebFaction上设置OSQA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆