2018-03-27 03:35:12 -05:00
#!/bin/sh
set -eu
2016-04-30 04:17:50 -05:00
printf "############# PeerTube help #############\n\n"
printf "npm run ...\n"
2017-01-27 04:18:53 -06:00
printf " build -> Build the application for production (alias of build:client:prod)\n"
2018-01-30 06:27:07 -06:00
printf " build:server -> Build the server for production\n"
printf " build:client -> Build the client for production\n"
2017-01-27 04:18:53 -06:00
printf " clean:client -> Clean the client build files (dist directory)\n"
2018-01-30 06:27:07 -06:00
printf " clean:server:test -> Clean logs, uploads, database... of the test instances\n"
2017-02-08 13:36:57 -06:00
printf " reset-password -- -u [user] -> Reset the password of user [user]\n"
2018-05-30 04:22:04 -05:00
printf " create-transcoding-job -- -v [video UUID] \n"
printf " -> Create a transcoding job for a particular video\n"
printf " prune-storage -> Delete (after confirmation) unknown video files/thumbnails/previews... (due to a bad video deletion, transcoding job not finished...)\n"
2018-10-08 09:26:04 -05:00
printf " optimize-old-videos -> Re-transcode videos that have a high bitrate, to make them suitable for streaming over slow connections"
2017-01-27 04:18:53 -06:00
printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n"
printf " start -> Run the server\n"
2017-02-08 13:36:57 -06:00
printf " update-host -> Upgrade scheme/host in torrent files according to the webserver configuration (config/ folder)\n"
2018-01-30 06:27:07 -06:00
printf " client-report -> Open a report of the client dependencies module\n"
2017-01-27 04:18:53 -06:00
printf " test -> Run the tests\n"
printf " help -> Print this help\n"