如何在 webfaction 上设置 osqa

发布于 2025-01-05 19:49:01 字数 547 浏览 3 评论 0原文

requirements.txt 文件:

django>=1.1 mysql-python python-openid 心理咨询师2 html5库 降价 git+git://github.com/dcramer/django-sphinx.git 南

先,virtualenv ~/webapps/ --distribute 源〜/ webapps // bin / activate 导出 PATH=/usr/pgsql-9.1/bin/:$PATH (这是为了避免 pg_config not found 错误 http://community.webfaction.com/questions/736/installing-psycopg2 ) 然后 pip-2.7 install -rrequirements.txt

并且记住不要执行 pip install 来安装到 2.4 中;需要调用 pip-2.7 install

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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

柠檬心 2025-01-12 19:49:01
  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!
旧夏天 2025-01-12 19:49:01

只是为了分享,我按照上面 SeanF 的说明在 Webfaction 上安装了 OSQA,这很容易。我什至可以对脚本进行一些定制。现在的工作是自定义站点,而不是花费大量的时间来设置部署。感谢 Webfaction 和 SeanF。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文