Discourse 中文完全安装指南正式发布


(raly) #1

20130618更新:在本指南发布后不久,官方推出了正式的安装指南,为了保持一致,ofGEEK 将对本指南进行较大幅度的升级,保持与官方的方法一致,暂时不推荐按照老指南进行安装,谢谢。


目前,Discourse 的英文安装指南已经很丰富了,但是仍然没有一份中文指南。为此,ofGEEK 专门编写整理了一份中文完全安装指南,希望能对需要的人有所帮助。

指南链接地址: http://www.ofgeek.com/2013/05/chinese-guide-on-discourse-install/

For non-Chinese readers, this is a post announcing that there is a Chinese guide on how to install Discourse on a VPS. Sorry for the bother and thank you for your attention.


Chinese search issues
(Jeff Atwood) #2

Excellent!

Let us know if there are any other localization tweaks we need or places that English still appears.


(endintro) #3

很好的文章,谢谢lz。

我按照指南一直到开发模式都没问题,但部署生产模式的时候,rvmsudo thin install 出错,Ubuntu 12.04

第一次接触rails,感觉部署起来很麻烦,虽然做了很多步,都不知道在干嘛


(Luke) #4

我也是差不多第一次接触rails,然后自己按照另外一种方式来部署的,感觉上面这种方式方便些,特别是代码更新了重新部署的时候,也只是一个命令的事情。
http://www.mydiscourse.org/t/discourse/27


(endintro) #5

昨天按照 https://github.com/discourse/discourse/blob/master/docs/INSTALL-ubuntu.md 里的教程成功装好,升级也很方便,感觉这个教程里用户权限说得很清楚,比较不会出问题


(Andy_Kong) #6

想請教一下, 我也是用這個教程, 但最後出現問題

Bluepill setup
Run these commands as the discourse user

  • gem install bluepill

Fetching: daemons-1.1.9.gem (100%)
ERROR: While executing gem … (Errno::EACCES)
Permission denied - /usr/local/rvm/gems/ruby-2.0.0-p195/cache/daemons-1.1.9.gem

請問大概是甚麼問題呢, 謝謝?


(endintro) #7

Permission denied 是不是前面安装rvm的时候的用户错了?可以对照每部分前面注释里说明的用户再试试,或者跟 a single-user RVM installation有关?


(Jeff Atwood) #8

Could you update this guide to let our Chinese friends know that the Docker install is the only supported one in the future?


(Erick Guan) #9

I will write a blog post about it. But discourse_docker should be able to init with different locale to generate proper default topic and category.

I believe @sam is working on docker right now.


(Kane York) #10

I imagine it could be slotted in pretty nicely in the params section, no?

params:
  # git revision to run
  version: HEAD
  # initial language for the forum
  language: en

(disclaimer: this will not work yet)


(Jeff Atwood) #11

That’s a good point. Is there a place to put the locale in the app.yml file @sam?


(Erick Guan) #12

New guide about docker installation.

简书地址