一、搭建步骤
推荐ubuntu系统
sudo apt-get update
apt-get install git
wget -qO- https://get.docker.io/ | sh
mkdir /var/discourse
sudo -s
git clone https://github.com/discourse/discourse_docker.git /var/discourse
cd /var/discourse
cp samples/standalone.yml containers/app.yml
vim containers/app.yml 修改配置文件
./launcher bootstrap app
./launcher start app
二、快速创建管理员账号
cd /var/discourse
./launcher enter app
rake admin:create
注意事项:https连接别忘了上传证书文件/var/discourse/shared/standalone/ssl