From 80f5b1941385612db8ee385f86ac892b4bd8a88a Mon Sep 17 00:00:00 2001 From: Mike Nikles Date: Fri, 15 Oct 2021 00:35:17 +0000 Subject: [PATCH 1/2] Set env variables on Gitpod per terminal. --- .gitpod.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitpod.yml b/.gitpod.yml index f8e14f22aa2b..8dc507c85ae0 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -5,9 +5,10 @@ workspaceLocation: . tasks: - name: Terminal openMode: split-left + before: | + export RWFW_PATH="/workspace/redwood" + export RWJS_DEV_API_URL="http://localhost" init: | - eval $(gp env -e RWFW_PATH="/workspace/redwood") - eval $(gp env -e RWJS_DEV_API_URL="http://localhost") mkdir /workspace/rw-test-app command: | cd /workspace/rw-test-app @@ -16,6 +17,9 @@ tasks: - name: "Dev Servers" openMode: split-right + before: | + export RWFW_PATH="/workspace/redwood" + export RWJS_DEV_API_URL="http://localhost" init: | cd /workspace/redwood yarn install From 31d2b57258e75116cc8decce6002aee66249af4e Mon Sep 17 00:00:00 2001 From: Daniel Choudhury Date: Mon, 25 Oct 2021 17:48:55 +0000 Subject: [PATCH 2/2] Update default message --- .gitpod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitpod.yml b/.gitpod.yml index 8dc507c85ae0..cb7d60ce5775 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -12,7 +12,7 @@ tasks: mkdir /workspace/rw-test-app command: | cd /workspace/rw-test-app - echo -e "\n\n\033[94m ======================================================" && echo -e "\n\033[33m ⌛ Please wait until the dev server is running on the right-side terminal. \n "rw-test-app" is being generated & linked with latest framework code. \n\nIf you make further changes to the framework..." && echo -e "\033[33mRun \033[92m'yarn rwfw project:sync'\033[33m to watch & sync changes into the test project" && echo -e "\n\033[94m ======================================================\n\n" + echo -e "\n\n\033[94m ======================================================" && echo -e "\n\033[33m ⌛ Please wait until the dev server is running on the right-side terminal. \n "rw-test-app" is being generated & linked with latest framework code. \n\nIf you make further changes to the framework..." && echo -e "1. \033[33mEnsure env vars are set \033[92m'export RWFW_PATH="/workspace/redwood" RWJS_DEV_API_URL="http://localhost"'\033[33m" && echo -e "2. \033[33mRun \033[92m'yarn rwfw project:sync'\033[33m to watch & sync changes into the test project" && echo -e "\n\033[94m ======================================================\n\n" - name: "Dev Servers"