aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/help.sh35
-rwxr-xr-xscripts/reset-password.js2
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
3printf "############# PeerTube help #############\n\n" 3printf "############# PeerTube help #############\n\n"
4printf "npm run ...\n" 4printf "npm run ...\n"
5printf " build -> Build the application for production (alias of build:client:prod)\n" 5printf " build -> Build the application for production (alias of build:client:prod)\n"
6printf " build:client:dev -> Build the client for development\n" 6printf " build:client:dev -> Build the client for development\n"
7printf " build:client:prod -> Build the client for production\n" 7printf " build:client:prod -> Build the client for production\n"
8printf " clean -> Clean the application\n" 8printf " clean -> Clean the application\n"
9printf " clean:client -> Clean the client build files (dist directory)\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" 10printf " clean:server:test -> Clean certificates, logs, uploads and database of the test instances\n"
11printf " watch:client -> Watch the client files\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" 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" 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" 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" 15printf " play -> Run 3 fresh nodes so that you can test the communication between them\n"
16printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n" 16printf " reset-password -- -u [user] -> Reset the password of user [user]\n",
17printf " start -> Run the server\n" 17printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n"
18printf " check -> Check the server (according to NODE_ENV)\n" 18printf " start -> Run the server\n"
19printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\n" 19printf " check -> Check the server (according to NODE_ENV)\n"
20printf " test -> Run the tests\n" 20printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\n"
21printf " help -> Print this help\n" 21printf " test -> Run the tests\n"
22printf " 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
7const program = require('commander') 5const program = require('commander')
8 6
9const db = require('../server/initializers/database') 7const db = require('../server/initializers/database')