mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
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
15 lines
954 B
Bash
15 lines
954 B
Bash
# 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
|