]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Document update host script
authorChocobozzz <florian.bigard@gmail.com>
Wed, 8 Feb 2017 19:36:57 +0000 (20:36 +0100)
committerChocobozzz <florian.bigard@gmail.com>
Wed, 8 Feb 2017 19:36:57 +0000 (20:36 +0100)
scripts/help.sh
scripts/update-host.js

index bf4a51279869c5520da408e5eb9a2ee4ef8783c5..0f672d5209fa55ccb7c97c0fd90f77b927e678a3 100755 (executable)
@@ -13,10 +13,11 @@ printf "  danger:clean:dev            -> /!\ Clean certificates, logs, uploads,
 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"
-printf "  reset-password -- -u [user] -> Reset the password of user [user]\n",
+printf "  reset-password -- -u [user] -> Reset the password of user [user]\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"
 printf "  check                       -> Check the server (according to NODE_ENV)\n"
 printf "  upgrade -- [branch]         -> Upgrade the application according to the [branch] parameter\n"
+printf "  update-host                 -> Upgrade scheme/host in torrent files according to the webserver configuration (config/ folder)\n"
 printf "  test                        -> Run the tests\n"
 printf "  help                        -> Print this help\n"
index 18e35386c9b3840b91aa656b459cd0eb8c835447..8ae0f0d0e400e045f236ea6cb8d009913e5a16b1 100755 (executable)
@@ -2,8 +2,6 @@
 
 'use strict'
 
-// TODO: document this script
-
 const fs = require('fs')
 const parseTorrent = require('parse-torrent')