diff options
Diffstat (limited to 'website')
-rw-r--r-- | website/sandbox/contentful/.envrc | 4 | ||||
-rw-r--r-- | website/sandbox/learnpianochords/src/server/.envrc | 6 |
2 files changed, 8 insertions, 2 deletions
diff --git a/website/sandbox/contentful/.envrc b/website/sandbox/contentful/.envrc index 98e1d2c821f9..848d74e8b5e6 100644 --- a/website/sandbox/contentful/.envrc +++ b/website/sandbox/contentful/.envrc @@ -1,4 +1,4 @@ source_up use_nix -export CONTENTFUL_SPACE_ID="$(pass show programming/contentful/space-id)" -export CONTENTFUL_ACCESS_TOKEN="$(pass show programming/contentful/access-token)" +export CONTENTFUL_SPACE_ID="$(jq -j '.contentful | .spaceId' < ~/briefcase/secrets.json)" +export CONTENTFUL_ACCESS_TOKEN="$(jq -j '.contentful | .accessToken' < ~/briefcase/secrets.json)" diff --git a/website/sandbox/learnpianochords/src/server/.envrc b/website/sandbox/learnpianochords/src/server/.envrc new file mode 100644 index 000000000000..db08eac38e8e --- /dev/null +++ b/website/sandbox/learnpianochords/src/server/.envrc @@ -0,0 +1,6 @@ +source_up +use_nix +export SERVER_PORT=3000 +export CLIENT_PORT=8000 +export GOOGLE_CLIENT_ID="$(jq -j '.google | .clientId' < ~/briefcase/secrets.json)" +export STRIPE_API_KEY="$(jq -j '.stripe | .apiKey' < ~/briefcase/secrets.json)" |