From 40efc9aefd5ce900f67e6fdd244ccccceba9345a Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Fri, 26 Apr 2024 16:52:19 +0200 Subject: [PATCH] Update docs of script --- scripts/hetzner/deployHetzner.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/hetzner/deployHetzner.sh b/scripts/hetzner/deployHetzner.sh index f3df27b9c..1f790078f 100755 --- a/scripts/hetzner/deployHetzner.sh +++ b/scripts/hetzner/deployHetzner.sh @@ -1,5 +1,6 @@ #! /bin/bash -### To be run from the root of the repository +### To be run from the root of the repository +### Prepares and builds MapComplete, uploads it to hetzner for hosted.mapcomplete.org. Will upload about 500MB to this computer # Some pointers to get started: # apt install npm @@ -20,5 +21,5 @@ scp ./Docs/ServerConfig/hetzner/* hetzner:/root/ && rsync -rzh --progress dist.zip hetzner:/root/ && echo "Upload completed, deploying config and booting" && ssh hetzner -t "unzip dist.zip && rm dist.zip && rm -rf public/ && mv dist public && caddy stop && caddy start" && -# rm dist.zip +rm dist.zip npm run clean