diff options
-rw-r--r-- | support/doc/plugins/guide.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md index afc5b9337..81f52cf6c 100644 --- a/support/doc/plugins/guide.md +++ b/support/doc/plugins/guide.md | |||
@@ -1071,7 +1071,7 @@ You built files are in the `dist/` directory. Check `package.json` to correctly | |||
1071 | 1071 | ||
1072 | ### Test your plugin/theme | 1072 | ### Test your plugin/theme |
1073 | 1073 | ||
1074 | You need to have a running PeerTube instance with an administrator account. | 1074 | You need to have a local PeerTube instance with an administrator account. |
1075 | If you're using dev server on your local computer, test your plugin on `localhost:9000` using `npm run dev` because plugin CSS is not injected in Angular webserver (`localhost:3000`). | 1075 | If you're using dev server on your local computer, test your plugin on `localhost:9000` using `npm run dev` because plugin CSS is not injected in Angular webserver (`localhost:3000`). |
1076 | 1076 | ||
1077 | Install PeerTube CLI (can be installed on another computer/server than the PeerTube instance): | 1077 | Install PeerTube CLI (can be installed on another computer/server than the PeerTube instance): |
@@ -1086,7 +1086,9 @@ Register the PeerTube instance via the CLI: | |||
1086 | peertube-cli auth add -u 'https://peertube.example.com' -U 'root' --password 'test' | 1086 | peertube-cli auth add -u 'https://peertube.example.com' -U 'root' --password 'test' |
1087 | ``` | 1087 | ``` |
1088 | 1088 | ||
1089 | Then, you can install your local plugin/theme by running: | 1089 | Then, you can install your local plugin/theme. |
1090 | The `--path` option is the local path on the PeerTube instance. | ||
1091 | If the PeerTube instance is running on another server/computer, you must copy your plugin directory there. | ||
1090 | 1092 | ||
1091 | ```sh | 1093 | ```sh |
1092 | peertube-cli plugins install --path /your/absolute/plugin-or-theme/path | 1094 | peertube-cli plugins install --path /your/absolute/plugin-or-theme/path |