From 71164c6bc57cd7c5a90743201ed76b04abcac68d Mon Sep 17 00:00:00 2001 From: Mohamed Khelif Date: Mon, 18 Mar 2024 14:44:32 -0400 Subject: [PATCH 1/2] Update logkeeper bootstrap script with additional environment variables --- scripts/bootstrap-logkeeper.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bootstrap-logkeeper.sh b/scripts/bootstrap-logkeeper.sh index 655c1430..411087b9 100755 --- a/scripts/bootstrap-logkeeper.sh +++ b/scripts/bootstrap-logkeeper.sh @@ -49,4 +49,4 @@ fi echo "Use the following command to start logkeeper:" -echo "${YELLOW}LK_CORS_ORIGINS=http:\/\/localhost:\\\d+ go run main/logkeeper.go --localPath $PWD/bin/_bucketdata${NC}" +echo "${YELLOW}LK_CORS_ORIGINS=http:\/\/localhost:\\\d+ LK_EVERGREEN_ORIGIN=http://localhost:8080 LK_PARSLEY_ORIGIN=http://localhost:5173 go run main/logkeeper.go --localPath $PWD/bin/_bucketdata${NC}" From 0397c95cb58cd31920d235fd5e34c3b70d72040e Mon Sep 17 00:00:00 2001 From: Mohamed Khelif Date: Mon, 18 Mar 2024 16:03:47 -0400 Subject: [PATCH 2/2] Remove unused variable and add clarifying command --- scripts/bootstrap-logkeeper.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/bootstrap-logkeeper.sh b/scripts/bootstrap-logkeeper.sh index 411087b9..c2d4337f 100755 --- a/scripts/bootstrap-logkeeper.sh +++ b/scripts/bootstrap-logkeeper.sh @@ -6,8 +6,6 @@ NC='\033[0m' # No Color YELLOW='\033[1;33m' GREEN='\033[0;32m' -SPRUCE_DIR=pwd - # Check to see if we have a _bucketdata directory if [ ! -d "bin/_bucketdata" ]; then echo "${RED}No _bucketdata directory found!${NC}" @@ -48,5 +46,5 @@ else fi -echo "Use the following command to start logkeeper:" +echo "Use the following command within the logkeeper directory to start logkeeper:" echo "${YELLOW}LK_CORS_ORIGINS=http:\/\/localhost:\\\d+ LK_EVERGREEN_ORIGIN=http://localhost:8080 LK_PARSLEY_ORIGIN=http://localhost:5173 go run main/logkeeper.go --localPath $PWD/bin/_bucketdata${NC}"