aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-06-02 15:18:39 +0200
committerChocobozzz <me@florianbigard.com>2023-06-29 10:16:57 +0200
commit9c5cc501335b9f7dba4aa492b8fda68d4881d28d (patch)
treef4ef0289b9c4d3bd5c8d49514946ce6eaab6d341 /support
parentd8f39b126d9fe4bec1c12fb213548cc6edc87867 (diff)
downloadPeerTube-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.md29
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
268docker-compose exec -u peertube peertube npm run create-move-video-storage-job -- --to-object-storage --all-videos 268docker-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
276Use this script to generate storyboard of a specific video:
277
278```bash
279# Basic installation
280cd /var/www/peertube/peertube-latest
281sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-generate-storyboard-job -- -v [videoUUID]
282
283# Docker installation
284cd /var/www/peertube-docker
285docker-compose exec -u peertube peertube npm run create-generate-storyboard-job -- -v [videoUUID]
286```
287
288The script can also generate all missing storyboards of local videos:
289
290```bash
291# Basic installation
292cd /var/www/peertube/peertube-latest
293sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-generate-storyboard-job -- --all-videos
294
295# Docker installation
296cd /var/www/peertube-docker
297docker-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