Restarting Node Applications
-
A persistent pain point in NodeBB usage has always been installing plugins/themes. For example, the steps to install a plugin are as follows:
npm install nodebb-plugin-myplugin
- Navigate to the "Plugins" page and activate it
- Restart NodeBB (plugin is not truly active otherwise)
- (Optional) If the plugin requires setup, navigate to its page in the control panel
- (Optional) Restart NodeBB again
This is a definite step back from other (non-node based) platforms, where plugin installation is a two step process:
- Install plugin (e.g. unzip to plugin directory)
- Activate plugin
Click here to see the full blog post
-
So will this restart the entire NodeBB server, dropping all websocket connections, or just restart the plugin?
-
nice article, useful stuff
-
@julian said in Restarting Node Applications:
A persistent pain point in NodeBB usage has always been installing plugins/themes. For example, the steps to install a plugin are as follows:
npm install nodebb-plugin-myplugin
- Navigate to the "Plugins" page and activate it
- Restart NodeBB (plugin is not truly active otherwise)
- (Optional) If the plugin requires setup, navigate to its page in the control panel
- (Optional) Restart NodeBB again
This is a definite step back from other (non-node based) platforms, where plugin installation is a two step process:
- Install plugin (e.g. unzip to plugin directory)
- Activate plugin
Click here to see the full blog post
I don't know where the NodeBB directory is
-
@ChaosYamYT this is a really old Post. You'll want to just install plugins from the admin panel.