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 إعجابات

هل لا يزال discourse-settings-uploader الخاص بـ @pfaffman هو الطريقة الوحيدة (أو المثلى) لنسخ إعدادات الموقع من مثيل Discourse مستقل إلى آخر؟

إذا كان الأمر كذلك، فبالنسبة للمثال المقدم في المستودع…

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

لقد حفظت ملف site_settings.json في مجلد التنزيلات بجهاز الكمبيوتر الخاص بي. ألا ينبغي عليّ حفظه على الخادم البعيد، وإذا كان الأمر كذلك، فأين؟

ثم حاولت تشغيل هذا الأمر… (وتلقيت الخطأ المعروض في وحدة التحكم)…

هل هناك أي تعليمات إضافية يمكنك تقديمها؟

3 إعجابات

أعتقد أن Administrative Bulk Operations هي الطريقة المثلى.

إعجابَين (2)

حسنًا، شكرًا لك. هل هناك ملف يخزن قائمة مكونات السمات (Theme Components) التي يمكنني نسخها من مثيل إلى آخر، مثلما أفعل مع المكونات الإضافية (Plugins) في ملف app.yml؟

إعجابَين (2)