Angel Protocol Causes donation portal app
- Make a new repo from this template repo
- Setup a new Web App AWS Amplify app and connect it to the new repo
- Setup the build.yml file as follows:
version: 1
frontend:
phases:
preBuild:
commands:
- yarn install
build:
commands:
- REACT_APP_INFURA_ID=${REACT_APP_INFURA_ID}
- REACT_APP_NETWORK=${REACT_APP_NETWORK}
- REACT_APP_APES_AUTH_SECRET_KEY=${REACT_APP_APES_AUTH_SECRET_KEY}
- REACT_APP_KADO_API_KEY=${REACT_APP_KADO_API_KEY}
- yarn build
artifacts:
baseDirectory: build
files:
- '**/*'
cache:
paths:
- Configure the following environment variables with these varialbe and their values (ask a team member!):
REACT_APP_INFURA_ID=??
REACT_APP_APES_AUTH_SECRET_KEY=??
REACT_APP_NETWORK=TESTNET or MAINNET
REACT_APP_KADO_API_KEY=??
- Create a .env file with the above env vars
- update page content
src/App
- update index.html metatags
- update app config
src/constants/config