סנכרון יומי לסביבת INT?

סיכום מבוסס בינה מלאכותית

The discussion revolves around synchronizing a Discourse INT environment with PROD, focusing on automating the process while preserving INT-specific configurations. Wurzelseppi asks about cloning PROD to INT regularly, preserving individual settings like hostname and SSL. RGJ suggests using rake site_settings:import for this purpose. Wurzelseppi shares their current method involving app.yaml and backups, then asks how to prevent email notifications to users during testing. Moin explains that the disable emails setting can be restricted to non-staff, preventing user emails while allowing staff to receive them. Wurzelseppi confirms this resolves their concern, and RGJ notes that this setting is automatically applied when restoring a backup.

שלום לכולם,

יש לנו סביבת INT וסביבת PROD וקשה כרגע לעקוב אחר כל ההבדלים.
האם אפשרי איכשהו, לשכפל את סביבת PROD (נושאים / קטגוריות / הגדרות / …) ל-INT באופן קבוע ולשמור את הדברים האינדיבידואליים של INT (שם מארח / SSL / דוא"ל / …)?

האם אני צריך לעשות זאת ידנית (לאחסן את הדברים האינדיבידואליים איפשהו / לשכפל / לדרוס את הדברים האינדיבידואליים עם פרטים ספציפיים של INT / …), או שיש כלי Discourse שאוכל להשתמש בו?

תודה רבה מראש וברכות,

JP

There is rake site_settings:import

See Restoring forum to a new server - #2 by csmu

היי חברים,

זה בעצם פשוט כמו

  • ציין את כל ההגדרות הספציפיות לשלב כמשתנים מקודדים קשיח ב-app.yaml
  • העתק גיבוי מ-prod ל-int
  • שחזר אותו
  • בנה מחדש את האפליקציה

לפחות כאן זה עובד, אבל השאלה הבאה. אז איך אני יכול לבטל את כל ההגדרות שיכולות להוביל לשליחת מייל למשתמשים, כדי שהאינסטנס לא יטריד את המשתמשים

הגדרות דוא"ל אישיות
קטגוריות שנצפו, במעקב
…

כרגע הגדרתי את שרת הדואר לא נכון בכוונה, אבל מתישהו כשאני ארצה לבדוק משהו עם מיילים …

יש רעיונות?

תודה וברכות,

WS

There is a disable emails site setting. I think it’s automatically activated when you restore a backup. For testing, you could enable e-mails for staff only.

Hey @Moin (that´s a German term for good morning, I like that :slight_smile: )

thanks for your answer. I´m aware of that option, but I´m afraid as soon as I activate it there will be a flood of mails going out.

What did you mean by

How would that be possible without reenabling the whole mail thing and don´t spam the users ?

The only thing I can imagine is to switch off the mail related user specific settings via rake console for every user.

Or

Would any of these

  • Deactivate
  • Stage
  • Suspend
  • Silence

do the trick ?

Cheers and thanks again,

WS

By choosing to disable emails for non-staff

Doh, that would be possible, yes :see_no_evil_monkey:

Thanks, I forgot completely, there is that “non-staff” option in that field :frowning:

Have a great day and thanks!

WS

האפשרות הזו מוגדרת אוטומטית כאשר אתה משחזר גיבוי, לכן אינך צריך לעשות שום דבר נוסף.