Your don't need the header in your template. You need to add it like this:router.get('/calendar', middleware.buildHeader, renderPageHandler); router.get('/api/calendar', renderPageHandler);
Are forum data and everything else (including plugin-settings) stored in a same redis file?
I'm trying to establish my own nodeBB development cycle.
Here is my ideal plan.
1.Create my own custom-nodeBB repo in GitHub.
2.Git clone the repo to my local machine.
3.Copy everything from the official-nodeBB repo.
4.Develop/Configure my own custom-nodeBB by customizing the official-nodeBB at the local machine such as installing needed plugins (often install my own plugins), and configure everything at ACP, then test it completely.
6.Once the development and test are done, (in ideal scenario) Git push to master of custom-nodeBB in Github, also upload redis file for everything including the plugin configuration, and excluding the forum data.
7.Git clone custom-nodeBB to a remote server machine.
8. Download the redis file for everything including the plugin configuration, and excluding the forum data and place it properly.
9. Start production. and periodically back up the redis file for forum data.
This is my ideal scenario.
However, I am not sure how the nodebb-plugin-settings and data other than forum data are stored.
I suppose that the nodebb-plugin-settings and data other than forum data are stored in redis file, am I correct?
I would like to save and load separately for forum data and everything else, in other words, isolate forum data only.
Is it possible?
If there's a good documentation for detailed data back up, please let me know.
@Ken-OKABE Yes, all settings (including plugin settings) are saved in the Redis data. As far as I know, there is no way to split up forum data from plugin data, as each plugin is free to save data in whichever way they'd like.
@julian Thank you. I understood. I will try another way.