help.sh 1.5 KB

123456789101112131415161718192021
  1. #!/bin/sh
  2. set -eu
  3. printf "############# PeerTube help #############\n\n"
  4. printf "npm run ...\n"
  5. printf " build -> Build the application for production (alias of build:client:prod)\n"
  6. printf " build:server -> Build the server for production\n"
  7. printf " build:client -> Build the client for production\n"
  8. printf " clean:client -> Clean the client build files (dist directory)\n"
  9. printf " clean:server:test -> Clean logs, uploads, database... of the test instances\n"
  10. printf " reset-password -- -u [user] -> Reset the password of user [user]\n"
  11. printf " create-transcoding-job -- -v [video UUID] \n"
  12. printf " -> Create a transcoding job for a particular video\n"
  13. printf " prune-storage -> Delete (after confirmation) unknown video files/thumbnails/previews... (due to a bad video deletion, transcoding job not finished...)\n"
  14. printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n"
  15. printf " start -> Run the server\n"
  16. printf " update-host -> Upgrade scheme/host in torrent files according to the webserver configuration (config/ folder)\n"
  17. printf " client-report -> Open a report of the client dependencies module\n"
  18. printf " test -> Run the tests\n"
  19. printf " help -> Print this help\n"