Manage multiple Discourse instances from one place only

Hello everyone
If you manage multiple Discourse forums (I’m taking care of two), you often find yourself doing repetitive work: upgrading core/plugins, various settings & styling and so on. If I’d have one more forum to manage i’ll probably go nuts ! :slight_smile:

There is a way of doing this one without going on all forum admins?

Thanks!

2 个赞

You can script rebuild at the command line. I’ve written a Discourse settings uploader that will install settings to multiple sites. I don’t know if an automated way to upload themes, though if the sites use the same themes you can host them at github.

8 个赞

@pfaffman 你的 discourse-settings-uploader 仍然是将站点设置从一个独立的 discourse 实例复制到另一个实例的唯一(或最佳)方法吗?

如果是这样,对于存储库中提供的示例……

./discourse-settings-uploader https://discourse.example.com d35989078a system site_settings.json

我将 site_settings.json 保存到了我的 PC 下载文件夹。我是否应该将其保存到远程服务器,如果是,保存在哪里?

然后我尝试像这样运行该命令……(并在控制台中收到显示的错误)……

你能提供更多说明吗?

3 个赞

我认为 Administrative Bulk Operations 是可行的方法。

2 个赞

好的,太感谢了。有没有一个文件可以存储主题组件列表,我可以像在 app.yml 中复制插件一样,将它们从一个实例复制到另一个实例?

2 个赞