diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/help.sh | 35 | ||||
-rwxr-xr-x | scripts/reset-password.js | 2 |
2 files changed, 18 insertions, 19 deletions
diff --git a/scripts/help.sh b/scripts/help.sh index 23c460afa..bf4a51279 100755 --- a/scripts/help.sh +++ b/scripts/help.sh | |||
@@ -2,20 +2,21 @@ | |||
2 | 2 | ||
3 | printf "############# PeerTube help #############\n\n" | 3 | printf "############# PeerTube help #############\n\n" |
4 | printf "npm run ...\n" | 4 | printf "npm run ...\n" |
5 | printf " build -> Build the application for production (alias of build:client:prod)\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" | 6 | printf " build:client:dev -> Build the client for development\n" |
7 | printf " build:client:prod -> Build the client for production\n" | 7 | printf " build:client:prod -> Build the client for production\n" |
8 | printf " clean -> Clean the application\n" | 8 | printf " clean -> Clean the application\n" |
9 | printf " clean:client -> Clean the client build files (dist directory)\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" | 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" | 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" | 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" | 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" | 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" | 15 | printf " play -> Run 3 fresh nodes so that you can test the communication between them\n" |
16 | printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n" | 16 | printf " reset-password -- -u [user] -> Reset the password of user [user]\n", |
17 | printf " start -> Run the server\n" | 17 | printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n" |
18 | printf " check -> Check the server (according to NODE_ENV)\n" | 18 | printf " start -> Run the server\n" |
19 | printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\n" | 19 | printf " check -> Check the server (according to NODE_ENV)\n" |
20 | printf " test -> Run the tests\n" | 20 | printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\n" |
21 | printf " help -> Print this help\n" | 21 | printf " test -> Run the tests\n" |
22 | printf " help -> Print this help\n" | ||
diff --git a/scripts/reset-password.js b/scripts/reset-password.js index 5ae3af9ea..49a481a18 100755 --- a/scripts/reset-password.js +++ b/scripts/reset-password.js | |||
@@ -2,8 +2,6 @@ | |||
2 | 2 | ||
3 | 'use strict' | 3 | 'use strict' |
4 | 4 | ||
5 | // TODO: document this script | ||
6 | |||
7 | const program = require('commander') | 5 | const program = require('commander') |
8 | 6 | ||
9 | const db = require('../server/initializers/database') | 7 | const db = require('../server/initializers/database') |