aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/tools.md
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-02 08:25:20 +0200
committerChocobozzz <me@florianbigard.com>2019-09-02 08:25:20 +0200
commite9bdf8b4b52c6d5ec6bd92350765d17e372bdcb3 (patch)
tree045bdfe4291658b25f2a745afdfc6564423bdaf6 /support/doc/tools.md
parent2fd97378862fe0770775ed1200d671df224e5a36 (diff)
downloadPeerTube-e9bdf8b4b52c6d5ec6bd92350765d17e372bdcb3.tar.gz
PeerTube-e9bdf8b4b52c6d5ec6bd92350765d17e372bdcb3.tar.zst
PeerTube-e9bdf8b4b52c6d5ec6bd92350765d17e372bdcb3.zip
Fix plugin CLI tools doc
Diffstat (limited to 'support/doc/tools.md')
-rw-r--r--support/doc/tools.md6
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
283To install/update a plugin or a theme from the disk: 283To 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
289From NPM: 289From 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
295To uninstall a plugin or a theme: 295To 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))