From 5721db7337bedcb75826a29d1d98e4c67e5741b2 Mon Sep 17 00:00:00 2001 From: stdavis Date: Tue, 22 Oct 2024 16:19:44 -0600 Subject: [PATCH] docs: fix secrets template file and add dev step step --- README.md | 3 +++ functions/{.secrets => .secret} | 0 2 files changed, 3 insertions(+) rename functions/{.secrets => .secret} (100%) diff --git a/README.md b/README.md index afd5af6..2c46efe 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,9 @@ Production: [https://electrofishing-query.ugrc.utah.gov](https://electrofishing- 1. Install the nodejs packages - `npm install && cd functions && npm install` +1. Create function secrets + - `cd functions && cp .secret .secret.local` + - fill in values in `.secret.local` 1. Copy the ArcGIS Maps SKD for JavaScript assets to the public folder. **This needs to be done anytime the arcgis package is updated.** - `npm run copy:arcgis` 1. Create `.env.local` files in the project root and the functions folders using the corresponding `.env` files as examples. diff --git a/functions/.secrets b/functions/.secret similarity index 100% rename from functions/.secrets rename to functions/.secret