mirror of https://github.com/Chocobozzz/PeerTube
Fix plugin CLI tools doc
parent
2fd9737886
commit
e9bdf8b4b5
|
@ -283,19 +283,19 @@ If PeerTube is running, you need to restart it for the changes to take effect (w
|
||||||
To install/update a plugin or a theme from the disk:
|
To install/update a plugin or a theme from the disk:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run npm run plugin:install -- --plugin-path /local/plugin/path
|
$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run plugin:install -- --plugin-path /local/plugin/path
|
||||||
```
|
```
|
||||||
|
|
||||||
From NPM:
|
From NPM:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run npm run plugin:install -- --npm-name peertube-plugin-myplugin
|
$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run plugin:install -- --npm-name peertube-plugin-myplugin
|
||||||
```
|
```
|
||||||
|
|
||||||
To uninstall a plugin or a theme:
|
To uninstall a plugin or a theme:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run npm run plugin:uninstall -- --npm-name peertube-plugin-myplugin
|
$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run plugin:uninstall -- --npm-name peertube-plugin-myplugin
|
||||||
```
|
```
|
||||||
|
|
||||||
### REPL ([Read Eval Print Loop](https://nodejs.org/docs/latest-v10.x/api/repl.html))
|
### REPL ([Read Eval Print Loop](https://nodejs.org/docs/latest-v10.x/api/repl.html))
|
||||||
|
|
Loading…
Reference in New Issue