about summary refs log tree commit diff
path: root/website/sandbox/learnpianochords/src/server/.envrc
diff options
context:
space:
mode:
Diffstat (limited to 'website/sandbox/learnpianochords/src/server/.envrc')
-rw-r--r--website/sandbox/learnpianochords/src/server/.envrc6
1 files changed, 6 insertions, 0 deletions
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)"