Discourse常用命令持续增加中
./launcher destroy app 重载项目
./launcher start app 开始项目
./launcher rebuild app 重新编译
./launcher logs app 查看日志
service docker restart 重启docker
./launcher enter app 进入容器
discourse remap =BEFORE= =AFTER= 更换域名(先进入容器后操作)
rake posts:rebake 更换域名(更换域名后重载)
cd /var/discourse git pull ./launcher rebuild app(手动升级)
./launcher destroy app web_only (运行双容器)
./launcher start app
如若转载请注明出处: