From e007c4ba6ee92101ce853c44b0d7afce4d93616b Mon Sep 17 00:00:00 2001 From: D Date: Thu, 13 Apr 2023 21:25:33 -0500 Subject: [PATCH] added additional notes to README --- README.md | 6 ++++++ explorer.dragonx.is/export_env.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c352077..03a3cb2 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,12 @@ SIONA_CLI=~/git/hush3/src/hush-cli -ac_NAME=${SIONA_ACNAME} */5 * * * * ~/update.sh ``` +# additional Notes + +when running export_env.sh for manual testing, run the script as source. This assigns the env variables to the current shell. + +```source ./export_env.sh ``` or ```. ./export_env.sh``` for shorthand + # Copyright 2016-2023 The Hush Developers diff --git a/explorer.dragonx.is/export_env.sh b/explorer.dragonx.is/export_env.sh index f8037e7..c070d5f 100644 --- a/explorer.dragonx.is/export_env.sh +++ b/explorer.dragonx.is/export_env.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash export SIONA_DOMAIN="siona-DragonX/explorer.dragonx.is" -export SIONA_DIR="/var/www/$DOMAIN" +export SIONA_DIR="/var/www/siona-DragonX/explorer.dragonx.is" export SIONA_CLI="/home/admin/HUSH/hush3/src/hush-cli" \ No newline at end of file