- you can run the script anywhere but make sure the generated config file are placed in
playground/public/config.js
cd playground/public
bash ../../scripts/build-env.sh
-
By default, it runs on dev mode. the values already sat on the config file. if you want to change the mode
export MODE=dev | qa | test | main | custom
-
In case you chose
custom
you will need to provide all the needed values which is- GRAPHQL_URL
- GRIDPROXY_URL
- SUBSTRATE_URL
- ACTIVATION_SERVICE_URL
- RELAY_DOMAIN
- BRIDGE_TFT_ADDRESS
-
The backend payments are done with stellar so you need to decide which network of stellar you want to connect to
export STELLAR_NETWORK=test | main