mirror of https://github.com/Chocobozzz/PeerTube
Document update host script
parent
9cc99d7b56
commit
01a07456e4
|
@ -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: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 " 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 " 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 " dev -> Watch, run the livereload and run the server so that you can develop the application\n"
|
||||||
printf " start -> Run the server\n"
|
printf " start -> Run the server\n"
|
||||||
printf " check -> Check the server (according to NODE_ENV)\n"
|
printf " check -> Check the server (according to NODE_ENV)\n"
|
||||||
printf " upgrade -- [branch] -> Upgrade the application according to the [branch] parameter\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 " test -> Run the tests\n"
|
||||||
printf " help -> Print this help\n"
|
printf " help -> Print this help\n"
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
// TODO: document this script
|
|
||||||
|
|
||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
const parseTorrent = require('parse-torrent')
|
const parseTorrent = require('parse-torrent')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue