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