diff options
author | Chocobozzz <me@florianbigard.com> | 2023-06-02 15:18:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-06-29 10:16:57 +0200 |
commit | 9c5cc501335b9f7dba4aa492b8fda68d4881d28d (patch) | |
tree | f4ef0289b9c4d3bd5c8d49514946ce6eaab6d341 /support | |
parent | d8f39b126d9fe4bec1c12fb213548cc6edc87867 (diff) | |
download | PeerTube-9c5cc501335b9f7dba4aa492b8fda68d4881d28d.tar.gz PeerTube-9c5cc501335b9f7dba4aa492b8fda68d4881d28d.tar.zst PeerTube-9c5cc501335b9f7dba4aa492b8fda68d4881d28d.zip |
Add script to generate storyboards
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/tools.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md index 39f5ab787..b2fb7cd2c 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md | |||
@@ -268,6 +268,35 @@ cd /var/www/peertube-docker | |||
268 | docker-compose exec -u peertube peertube npm run create-move-video-storage-job -- --to-object-storage --all-videos | 268 | docker-compose exec -u peertube peertube npm run create-move-video-storage-job -- --to-object-storage --all-videos |
269 | ``` | 269 | ``` |
270 | 270 | ||
271 | <!-- TODO: uncomment when PeerTube 6 is released | ||
272 | ### create-generate-storyboard-job | ||
273 | |||
274 | **PeerTube >= 6.0** | ||
275 | |||
276 | Use this script to generate storyboard of a specific video: | ||
277 | |||
278 | ```bash | ||
279 | # Basic installation | ||
280 | cd /var/www/peertube/peertube-latest | ||
281 | sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-generate-storyboard-job -- -v [videoUUID] | ||
282 | |||
283 | # Docker installation | ||
284 | cd /var/www/peertube-docker | ||
285 | docker-compose exec -u peertube peertube npm run create-generate-storyboard-job -- -v [videoUUID] | ||
286 | ``` | ||
287 | |||
288 | The script can also generate all missing storyboards of local videos: | ||
289 | |||
290 | ```bash | ||
291 | # Basic installation | ||
292 | cd /var/www/peertube/peertube-latest | ||
293 | sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-generate-storyboard-job -- --all-videos | ||
294 | |||
295 | # Docker installation | ||
296 | cd /var/www/peertube-docker | ||
297 | docker-compose exec -u peertube peertube npm run create-generate-storyboard-job -- --all-videos | ||
298 | ``` | ||
299 | --> | ||
271 | 300 | ||
272 | ### prune-storage.js | 301 | ### prune-storage.js |
273 | 302 | ||