2016-04-30 12:17:50 +03:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
printf "############# PeerTube help #############\n\n"
|
|
|
|
printf "npm run ...\n"
|
2017-01-27 13:18:53 +03:00
|
|
|
printf " build -> Build the application for production (alias of build:client:prod)\n"
|
2017-06-10 23:57:31 +03:00
|
|
|
printf " build:server:prod -> Build the server for production\n"
|
2017-01-27 13:18:53 +03:00
|
|
|
printf " build:client:prod -> Build the client for production\n"
|
|
|
|
printf " clean -> Clean the application\n"
|
|
|
|
printf " clean:client -> Clean the client build files (dist directory)\n"
|
|
|
|
printf " clean:server:test -> Clean certificates, logs, uploads and database of the test instances\n"
|
|
|
|
printf " watch:client -> Watch the client files\n"
|
|
|
|
printf " danger:clean:dev -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified in the development environment\n"
|
|
|
|
printf " danger:clean:prod -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified by the production environment\n"
|
|
|
|
printf " danger:clean:modules -> /!\ Clean node and typescript modules\n"
|
|
|
|
printf " play -> Run 3 fresh nodes so that you can test the communication between them\n"
|
2017-02-08 22:36:57 +03:00
|
|
|
printf " reset-password -- -u [user] -> Reset the password of user [user]\n"
|
2017-01-27 13:18:53 +03: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"
|
|
|
|
printf " check -> Check the server (according to NODE_ENV)\n"
|
|
|
|
printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\n"
|
2017-02-08 22:36:57 +03:00
|
|
|
printf " update-host -> Upgrade scheme/host in torrent files according to the webserver configuration (config/ folder)\n"
|
2017-01-27 13:18:53 +03:00
|
|
|
printf " test -> Run the tests\n"
|
|
|
|
printf " help -> Print this help\n"
|