Given we have different settings on a staging site, mainly
- Url is different
- Auth0 settings are different and
- Email is disabled
what would be a good way to get the latest data from a production discourse site into a staging site.
- Export settings via console.
- backup production database to s3
- restore staging from s3
- restore settings via console.
That sounds like a good approach. We have a couple of rake tasks to help with exporting/importing site settings:
I’ve also got a ruby app that will upload settings
The auth0 config might be as simple as allowing the new site to the auth0 config.
If you don’t configure email, it doesn’t matter if you disable it.
This has been failing for me… it says
Don't know how to build task 'site_settings:export'