1
0
Fork 0

Document update host script

This commit is contained in:
Chocobozzz 2017-02-08 20:36:57 +01:00
parent 9cc99d7b56
commit 01a07456e4
2 changed files with 2 additions and 3 deletions

View file

@ -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"

View file

@ -2,8 +2,6 @@
'use strict'
// TODO: document this script
const fs = require('fs')
const parseTorrent = require('parse-torrent')