From 8990c5ef5ace88b04cda29ca92a6f9508eea4862 Mon Sep 17 00:00:00 2001 From: Andrew <148278535+andrew-opensignlabs@users.noreply.github.com> Date: Sun, 29 Oct 2023 20:29:29 +0530 Subject: [PATCH] Create .env.example.frontend Add example frontend dev .env example that can be used to quickly run the frontend development code locally with installing the API server and db --- .env.frontend_dev | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .env.frontend_dev diff --git a/.env.frontend_dev b/.env.frontend_dev new file mode 100644 index 000000000..d36422a82 --- /dev/null +++ b/.env.frontend_dev @@ -0,0 +1,14 @@ +# Clone the repo and rename this file to .env if you want to run the frontend react app locally for some quick contributions to the project. +# When used as it is, this env config will connect to our hosted UAT backend +# Note that any data in staging will get cleared from time to time and you may have to sign up again and again + +# Set CI to false while running the app locally +CI=false +# Set it to the URL form where the app home page will be accessed +PUBLIC_URL=http://localhost:3000 +# Set it to true if you want to generate the Sourcemap for debugging +GENERATE_SOURCEMAP=false +# Set it to the URL from where APIs will be accessible, for local development it should be localhost:3000/api/app (use your local port number instead) +REACT_APP_SERVERURL=https://staging-app.opensignlabs.com/api/app +# A 12 character long random app identifier. The value of this should be same as APP_ID which is a variable used by backend API. +REACT_APP_APPID=opensignstgn