add plugin installation authored by Roland Alton's avatar Roland Alton
......@@ -2,6 +2,22 @@
manual installation on bridge2 server in `/var/www/peertube/`
## Install plugin
To update or install a plugin you have to run this command on bridge2:
```
cd /var/www/peertube/peertube-latest && NODE_ENV=production NODE_CONFIG_DIR=/var/www/peertube/config node dist/scripts/plugin/install.js -n peertube-plugin-<plugin_name>
```
You'll have to change the owner after that.
```
cd /var/www/peertube/storage/plugins/node_modules && chown -R peertube:peertube *
```
and then do a restart.
## Restart
```
......
......