diff options
-rw-r--r-- | support/doc/tools.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md index 88586bfaa..dd2a03db7 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md | |||
@@ -283,19 +283,19 @@ If PeerTube is running, you need to restart it for the changes to take effect (w | |||
283 | To install/update a plugin or a theme from the disk: | 283 | To install/update a plugin or a theme from the disk: |
284 | 284 | ||
285 | ``` | 285 | ``` |
286 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run npm run plugin:install -- --plugin-path /local/plugin/path | 286 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run plugin:install -- --plugin-path /local/plugin/path |
287 | ``` | 287 | ``` |
288 | 288 | ||
289 | From NPM: | 289 | From NPM: |
290 | 290 | ||
291 | ``` | 291 | ``` |
292 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run npm run plugin:install -- --npm-name peertube-plugin-myplugin | 292 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run plugin:install -- --npm-name peertube-plugin-myplugin |
293 | ``` | 293 | ``` |
294 | 294 | ||
295 | To uninstall a plugin or a theme: | 295 | To uninstall a plugin or a theme: |
296 | 296 | ||
297 | ``` | 297 | ``` |
298 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run npm run plugin:uninstall -- --npm-name peertube-plugin-myplugin | 298 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run plugin:uninstall -- --npm-name peertube-plugin-myplugin |
299 | ``` | 299 | ``` |
300 | 300 | ||
301 | ### REPL ([Read Eval Print Loop](https://nodejs.org/docs/latest-v10.x/api/repl.html)) | 301 | ### REPL ([Read Eval Print Loop](https://nodejs.org/docs/latest-v10.x/api/repl.html)) |