官方地址在这里:
只需使用 nano app.yml 将其添加到 ~/var/discourse/containers 目录下的 app.yml 文件中,然后按照以下步骤重建:
## 插件放在这里
## 详见 https://meta.discourse.org/t/19157
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/discourse-voting
(不要删除现有的 git clone 命令,只需将此项单独添加在列表中)
返回到 ~/var/discourse 并执行:
./launcher rebuild app

8 个赞