-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy path.gitpod.yml
22 lines (20 loc) · 2.03 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
tasks:
- init: |
npm install
cd web && mv .env.sample .env
echo "# Log level for the application. The default value is ERROR." > .env
echo "# Acceptable values are ERROR, WARN, INFO, HTTP, VERBOSE, DEBUG and SILLY in order of priority (highest to lowest)." >> .env
echo "REACT_APP_LOG_LEVEL=ERROR" >> .env
echo "# JSON array with a factory id in Hedera format 0.0.XXXXX per environment." >> .env
echo "REACT_APP_FACTORIES='[{\"Environment\":\"testnet\",\"STABLE_COIN_FACTORY_ADDRESS\":\"0.0.467235\"}]'" >> .env
echo "# The var must be a unique mirror node service for Hedera network, and this is the service which would be used when the UI starts. If the service doesn't require an API key to authorize requests, the API_KEY and HEADER properties must remain empty." >> .env
echo "REACT_APP_MIRROR_NODE='[{\"Environment\":\"testnet\",\"BASE_URL\":\"https://testnet.mirrornode.hedera.com/api/v1/\", \"API_KEY\": \"\", \"HEADER\": \"\"}]'" >> .env
echo "# The var must be a unique RPC node service for Hedera network, and this is the service which would be used when the UI starts. If the service doesn't require an API key to authorize requests, the API_KEY and HEADER properties must remain empty." >> .env
echo "REACT_APP_RPC_NODE='[{\"Environment\":\"testnet\",\"BASE_URL\":\"https://testnet.hashio.io/api\", \"API_KEY\": \"\", \"HEADER\": \"\"}]'" >> .env
echo "# This is a proprietary Create React App configuration. You can read more information in its documentation.[Create React App documentation](https://create-react-app.dev/docs/advanced-configuration/)" >> .env
echo "GENERATE_SOURCEMAP=false" >> .env
command: npm start