]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - scripts/help.sh
Upgrade server dependencies
[github/Chocobozzz/PeerTube.git] / scripts / help.sh
CommitLineData
93534495
C
1#!/usr/bin/env sh
2
3printf "############# PeerTube help #############\n\n"
4printf "npm run ...\n"
9a5d2a3f 5printf " build -> Build the application for production (alias of build:client:prod)\n"
ecb4e35f
C
6printf " build:server -> Build the server for production\n"
7printf " build:client -> Build the client for production\n"
9a5d2a3f 8printf " clean:client -> Clean the client build files (dist directory)\n"
ecb4e35f
C
9printf " clean:server:test -> Clean logs, uploads, database... of the test instances\n"
10printf " watch:client -> Watch and compile on the fly the client files\n"
9a5d2a3f
C
11printf " danger:clean:dev -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified in the development environment\n"
12printf " danger:clean:prod -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified by the production environment\n"
13printf " danger:clean:modules -> /!\ Clean node and typescript modules\n"
14printf " play -> Run 3 fresh nodes so that you can test the communication between them\n"
01a07456 15printf " reset-password -- -u [user] -> Reset the password of user [user]\n"
9a5d2a3f
C
16printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n"
17printf " start -> Run the server\n"
01a07456 18printf " update-host -> Upgrade scheme/host in torrent files according to the webserver configuration (config/ folder)\n"
ecb4e35f 19printf " client-report -> Open a report of the client dependencies module\n"
9a5d2a3f
C
20printf " test -> Run the tests\n"
21printf " help -> Print this help\n"