最近需要安装discourse-assign和tickets-plugin两个插件到discourse上。记录一下安装步骤
移动到discourse目录下
代码语言:javascript复制cd /var/discourse
修改app.xml,移动到hooks下
代码语言:javascript复制vim containers/app.yml
......
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
- git clone https://github.com/paviliondev/discourse-tickets.git
- git clone https://github.com/discourse/discourse-assign.git
......
重建应用程序
代码语言:javascript复制./launcher rebuild app
然后等待重建完成后,进入设置界面开启这两个功能即可