From fb4e7f7bdd004abe18d76307d77c1d64917a460a Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 4 Aug 2021 11:00:41 +0200 Subject: [PATCH] adapt api install --- home.admin/config.scripts/blitz.web.api.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/home.admin/config.scripts/blitz.web.api.sh b/home.admin/config.scripts/blitz.web.api.sh index e9345ac74..df041626e 100755 --- a/home.admin/config.scripts/blitz.web.api.sh +++ b/home.admin/config.scripts/blitz.web.api.sh @@ -48,9 +48,6 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then git checkout ${DEFAULT_GITHUB_BRANCH} pip install -r requirements.txt - # TODO: check if that manual install is still needed in a future version - pip install sse_starlette - # build the config and set unique secret (its OK to be a new secret every install/upadte) /home/admin/config.scripts/blitz.web.api.sh update-config secret=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 64 ; echo '') @@ -112,6 +109,7 @@ if [ "$1" = "update-config" ]; then fi cd /home/admin/blitz_api + cp ./.env_sample ./.env dateStr=$(date) echo "# Update Web API CONFIG (${dateStr})" RPCUSER=$(sudo cat /mnt/hdd/${network}/${network}.conf | grep rpcuser | cut -c 9-)