How can I import/export settings into a file?

(Dmitry Demenchuk) #1

Is it possible, after tuning Discourse on local computer, to export all settings into file and upload them into production?



I guess probably you can export your settings from DB.

 public | single_sign_on_records     | table | discourse
 public | site_customizations        | table | discourse
 public | site_settings              | table | discourse
 public | stylesheet_cache           | table | discourse

Notice site_settings table. You can also take this data from your backup. It already have a dump of your database inside it.

Then all you need to do is restore this table to your server from your local dump. :thumbsup: