Save/Load plugin's settings to/from a config file instead of mongoDB



  • Is there some way to save and load the settings of a plugin (or the whole nodeBB) to/from a config file instead of mongoDB ?



  • No built in way, but there is nothing preventing you from writing your plugin to use a config file instead of settings stored in the database.

    When your nodebb starts instead of loading your plugin settings from the database you would read it from the file.


Log in to reply
 

Suggested Topics

| |