]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - scripts/help.sh
Fix upgrade script
[github/Chocobozzz/PeerTube.git] / scripts / help.sh
1 #!/usr/bin/env sh
2
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:client:dev -> Build the client for development\n"
7 printf " build:client:prod -> Build the client for production\n"
8 printf " clean -> Clean the application\n"
9 printf " clean:client -> Clean the client build files (dist directory)\n"
10 printf " clean:server:test -> Clean certificates, logs, uploads and database of the test instances\n"
11 printf " watch:client -> Watch the client files\n"
12 printf " danger:clean:dev -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified in the development environment\n"
13 printf " danger:clean:prod -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified by the production environment\n"
14 printf " danger:clean:modules -> /!\ Clean node and typescript modules\n"
15 printf " play -> Run 3 fresh nodes so that you can test the communication between them\n"
16 printf " reset-password -- -u [user] -> Reset the password of user [user]\n"
17 printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n"
18 printf " start -> Run the server\n"
19 printf " check -> Check the server (according to NODE_ENV)\n"
20 printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\n"
21 printf " update-host -> Upgrade scheme/host in torrent files according to the webserver configuration (config/ folder)\n"
22 printf " test -> Run the tests\n"
23 printf " help -> Print this help\n"