Exporting a Theme from Staging and Importing it to the Production portal

AI-generated summary

The user, Srujan_Madderla, wants to export a customized Air theme from their staging portal and import it into their production portal. nolo confirms that this is possible through the UI, but recommends a more maintainable setup: using the original Air theme and creating a separate theme component for customizations, which can be stored in a private code repository and installed on both staging and production portals. pfaffman suggests taking it a step further by installing the Discourse Theme CLI console app to manage theme development locally and on GitHub, especially for frequent changes.

We have customized the Air theme as per our requirement on our staging portal and and would like to use it for our production portal.

Will exporting the customized theme from staging portal and then importing the same into our production work with all the customization work ? please confirm ?

can you please guide on this if we can do the changes from UI only ?

Yes, it will work and you can both export and import from the UI.

However, a setup that will support you in ongoing maintenance would more look like this:

  • Use the Air theme as it is, installed from it’s public code repository
  • put your theme customizations into a dedicated theme component
  • keep your theme component in a private code repository and install it from there both on staging and production

I would follow the advice already given but also Install the Discourse Theme CLI console app to help you build themes to move the theme to your local hard drive and then to github.

If you’re doing to spend more than 5 minutes making trend changes you want to use the theme cli.

Thank you for the response