Skip to content
This repository has been archived by the owner on Aug 30, 2023. It is now read-only.

Latest commit

 

History

History
30 lines (23 loc) · 807 Bytes

build.md

File metadata and controls

30 lines (23 loc) · 807 Bytes

Build playground environment.

Run the script

  • 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

Required env vars

  • 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