2016-04-30 11:17:50 +02:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
printf "############# PeerTube help #############\n\n"
|
|
|
|
printf "npm run ...\n"
|
2016-06-03 22:34:39 +02:00
|
|
|
printf " build -> Build the application for production (alias of build:client:prod)\n"
|
|
|
|
printf " build:client:dev -> Build the client for development\n"
|
|
|
|
printf " build:client:prod -> Build the client for production\n"
|
2016-04-30 11:17:50 +02:00
|
|
|
printf " clean -> Clean the application\n"
|
2016-06-03 22:34:39 +02:00
|
|
|
printf " clean:client -> Clean the client build files (dist directory)\n"
|
2016-04-30 11:17:50 +02:00
|
|
|
printf " clean:server:test -> Clean certificates, logs, uploads and database of the test instances\n"
|
|
|
|
printf " watch:client -> Watch the client files\n"
|
2016-10-13 21:45:23 +02:00
|
|
|
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"
|
2016-04-30 11:17:50 +02:00
|
|
|
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"
|
|
|
|
printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n"
|
|
|
|
printf " start -> Run the server\n"
|
2016-10-21 11:20:14 +02:00
|
|
|
printf " check -> Check the server (according to NODE_ENV)\n"
|
2016-10-21 14:23:20 +02:00
|
|
|
printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\n"
|
2016-04-30 11:17:50 +02:00
|
|
|
printf " test -> Run the tests\n"
|
|
|
|
printf " help -> Print this help\n"
|