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

AngelProtocolFinance/aging-portal

Repository files navigation

causes-donation-portal

Angel Protocol Causes donation portal app

Instructions to deploy a new portal to production

  1. Make a new repo from this template repo
  2. Setup a new Web App AWS Amplify app and connect it to the new repo
  3. 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:
  1. 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=??

DEVELOPMENT NOTES

  • Create a .env file with the above env vars
  • update page content src/App
  • update index.html metatags
  • update app config src/constants/config

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published