aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/help.sh3
-rwxr-xr-xscripts/update-host.js2
2 files changed, 2 insertions, 3 deletions
diff --git a/scripts/help.sh b/scripts/help.sh
index bf4a51279..0f672d520 100755
--- a/scripts/help.sh
+++ b/scripts/help.sh
@@ -13,10 +13,11 @@ printf " danger:clean:dev -> /!\ Clean certificates, logs, uploads,
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 " reset-password -- -u [user] -> Reset the password of user [user]\n", 16printf " reset-password -- -u [user] -> Reset the password of user [user]\n"
17printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n" 17printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n"
18printf " start -> Run the server\n" 18printf " start -> Run the server\n"
19printf " check -> Check the server (according to NODE_ENV)\n" 19printf " check -> Check the server (according to NODE_ENV)\n"
20printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\n" 20printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\n"
21printf " update-host -> Upgrade scheme/host in torrent files according to the webserver configuration (config/ folder)\n"
21printf " test -> Run the tests\n" 22printf " test -> Run the tests\n"
22printf " help -> Print this help\n" 23printf " help -> Print this help\n"
diff --git a/scripts/update-host.js b/scripts/update-host.js
index 18e35386c..8ae0f0d0e 100755
--- a/scripts/update-host.js
+++ b/scripts/update-host.js
@@ -2,8 +2,6 @@
2 2
3'use strict' 3'use strict'
4 4
5// TODO: document this script
6
7const fs = require('fs') 5const fs = require('fs')
8const parseTorrent = require('parse-torrent') 6const parseTorrent = require('parse-torrent')
9 7