Skip to content

Commit

Permalink
docs: update .env.examples (#2443)
Browse files Browse the repository at this point in the history
  • Loading branch information
vacekj committed Oct 18, 2023
1 parent 0cd83e5 commit c1b524a
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 81 deletions.
74 changes: 39 additions & 35 deletions packages/builder/.env.example
Original file line number Diff line number Diff line change
@@ -1,51 +1,55 @@
# Builder-specific env vars
REACT_APP_PUBLIC_GITHUB_CLIENT_ID=
REACT_APP_PUBLIC_GITHUB_CALLBACK=
REACT_APP_PASSPORT_IAM_URL=
REACT_APP_PASSPORT_PROCEDURE_URL=
REACT_APP_PUBLIC_PASSPORT_TWITTER_CALLBACK=
REACT_APP_PASSPORT_IAM_SERVER=
REACT_APP_LOCALCHAIN=
REACT_APP_DISABLE_PROJECTS_MARKDOWN=

# Shared env vars
REACT_APP_ENV=
# development for local, production for prod builds
REACT_APP_ENV=development

# Bring your own API key
REACT_APP_ALCHEMY_ID=
REACT_APP_INFURA_ID=
REACT_APP_WALLETCONNECT_ID=
REACT_APP_WALLETCONNECT_PROJECT_ID=

REACT_APP_ALLOW_URL_DEBUG_MODE=
REACT_APP_DEBUG_MODE=

REACT_APP_ALLO_API_URL=

REACT_APP_GRANT_EXPLORER=
# Get your credentials at https://www.pinata.cloud/
REACT_APP_PINATA_GATEWAY=
REACT_APP_PINATA_JWT=

# Get your own key at https://scorer.gitcoin.co
REACT_APP_PASSPORT_API_KEY=
REACT_APP_PASSPORT_API_ENDPOINT="https://api.scorer.gitcoin.co"
# This is what the production indexer uses
REACT_APP_PASSPORT_API_COMMUNITY_ID="335"

# Allow overriding permissions checks by appending ?debug=true to the URL
REACT_APP_ALLOW_URL_DEBUG_MODE=true

# Disable permission checks by default
REACT_APP_DEBUG_MODE=false

# URL of the indexer. http://localhost:8080 for local indexer
REACT_APP_ALLO_API_URL="https://indexer-production.fly.dev"

# Subgraph URLs
REACT_APP_SUBGRAPH_ARBITRUM_API="https://api.thegraph.com/subgraphs/name/gitcoinco/gitcoin-grants-arbitrum-one"
REACT_APP_SUBGRAPH_ARBITRUM_GOERLI_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-arbitrum-goerli"
REACT_APP_SUBGRAPH_AVALANCHE_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-avalanche-mainnet"
REACT_APP_SUBGRAPH_FANTOM_MAINNET_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-fantom-mainnet"
REACT_APP_SUBGRAPH_FANTOM_TESTNET_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-fantom-testnet"
REACT_APP_SUBGRAPH_FUJI_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-fuji-testnet"
REACT_APP_SUBGRAPH_GOERLI_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-goerli-testnet"
REACT_APP_SUBGRAPH_MAINNET_API="https://gateway.thegraph.com/api/db01d72285a54fa4864050a870e9b16d/subgraphs/id/Ba4YGqqyYVFd55zcQnXS3XYTjJARKe93LY6qNgFbrHQz"
REACT_APP_SUBGRAPH_OPTIMISM_MAINNET_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-optimism-mainnet"
REACT_APP_SUBGRAPH_PGN_API="https://graph-gitcoin-mainnet.hirenodes.io/subgraphs/name/gitcoin/allo"
REACT_APP_SUBGRAPH_PGN_TESTNET_API="https://graph-gitcoin-testnet.hirenodes.io/subgraphs/name/gitcoin/allo"
REACT_APP_SUBGRAPH_POLYGON_API="https://api.thegraph.com/subgraphs/name/allo-protocol/grants-round-polygon"
REACT_APP_SUBGRAPH_POLYGON_MUMBAI_API="https://api.thegraph.com/subgraphs/name/allo-protocol/grants-round-mumbai"

# Variables below are optional for local development
REACT_APP_DATADOG_APPLICATION_ID=
REACT_APP_DATADOG_CLIENT_TOKEN=
REACT_APP_DATADOG_SERVICE=
REACT_APP_DATADOG_SITE=

REACT_APP_PASSPORT_API_COMMUNITY_ID=
REACT_APP_PASSPORT_API_ENDPOINT=
REACT_APP_PASSPORT_API_KEY=

REACT_APP_PINATA_GATEWAY=
REACT_APP_PINATA_JWT=

REACT_APP_SENTRY_AUTH_TOKEN=
REACT_APP_SENTRY_DSN=

REACT_APP_SUBGRAPH_ARBITRUM_API=
REACT_APP_SUBGRAPH_ARBITRUM_GOERLI_API=
REACT_APP_SUBGRAPH_FANTOM_MAINNET_API=
REACT_APP_SUBGRAPH_FANTOM_TESTNET_API=
REACT_APP_SUBGRAPH_GOERLI_API=
REACT_APP_SUBGRAPH_MAINNET_API=
REACT_APP_SUBGRAPH_OPTIMISM_MAINNET_API=
REACT_APP_SUBGRAPH_PGN_API=
REACT_APP_SUBGRAPH_PGN_TESTNET_API=

REACT_APP_TAG_MANAGER=

REACT_APP_INTERCOM_APP_ID=
63 changes: 39 additions & 24 deletions packages/grant-explorer/.env.example
Original file line number Diff line number Diff line change
@@ -1,40 +1,55 @@
REACT_APP_ENV=
# development for local, production for prod builds
REACT_APP_ENV=development

# Bring your own API key
REACT_APP_ALCHEMY_ID=
REACT_APP_INFURA_ID=
REACT_APP_WALLETCONNECT_ID=
REACT_APP_WALLETCONNECT_PROJECT_ID=

REACT_APP_ALLOW_URL_DEBUG_MODE=
REACT_APP_DEBUG_MODE=

REACT_APP_ALLO_API_URL=

REACT_APP_GRANT_EXPLORER=
# Get your credentials at https://www.pinata.cloud/
REACT_APP_PINATA_GATEWAY=
REACT_APP_PINATA_JWT=

# Get your own key at https://scorer.gitcoin.co
REACT_APP_PASSPORT_API_KEY=
REACT_APP_PASSPORT_API_ENDPOINT="https://api.scorer.gitcoin.co"
# This is what the production indexer uses
REACT_APP_PASSPORT_API_COMMUNITY_ID="335"

# Allow overriding permissions checks by appending ?debug=true to the URL
REACT_APP_ALLOW_URL_DEBUG_MODE=true

# Disable permission checks by default
REACT_APP_DEBUG_MODE=false

# URL of the indexer. http://localhost:8080 for local indexer
REACT_APP_ALLO_API_URL="https://indexer-production.fly.dev"

# Subgraph URLs
REACT_APP_SUBGRAPH_ARBITRUM_API="https://api.thegraph.com/subgraphs/name/gitcoinco/gitcoin-grants-arbitrum-one"
REACT_APP_SUBGRAPH_ARBITRUM_GOERLI_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-arbitrum-goerli"
REACT_APP_SUBGRAPH_AVALANCHE_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-avalanche-mainnet"
REACT_APP_SUBGRAPH_FANTOM_MAINNET_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-fantom-mainnet"
REACT_APP_SUBGRAPH_FANTOM_TESTNET_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-fantom-testnet"
REACT_APP_SUBGRAPH_FUJI_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-fuji-testnet"
REACT_APP_SUBGRAPH_GOERLI_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-goerli-testnet"
REACT_APP_SUBGRAPH_MAINNET_API="https://gateway.thegraph.com/api/db01d72285a54fa4864050a870e9b16d/subgraphs/id/Ba4YGqqyYVFd55zcQnXS3XYTjJARKe93LY6qNgFbrHQz"
REACT_APP_SUBGRAPH_OPTIMISM_MAINNET_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-optimism-mainnet"
REACT_APP_SUBGRAPH_PGN_API="https://graph-gitcoin-mainnet.hirenodes.io/subgraphs/name/gitcoin/allo"
REACT_APP_SUBGRAPH_PGN_TESTNET_API="https://graph-gitcoin-testnet.hirenodes.io/subgraphs/name/gitcoin/allo"
REACT_APP_SUBGRAPH_POLYGON_API="https://api.thegraph.com/subgraphs/name/allo-protocol/grants-round-polygon"
REACT_APP_SUBGRAPH_POLYGON_MUMBAI_API="https://api.thegraph.com/subgraphs/name/allo-protocol/grants-round-mumbai"

# Variables below are optional for local development
REACT_APP_DATADOG_APPLICATION_ID=
REACT_APP_DATADOG_CLIENT_TOKEN=
REACT_APP_DATADOG_SERVICE=
REACT_APP_DATADOG_SITE=

REACT_APP_PASSPORT_API_COMMUNITY_ID=
REACT_APP_PASSPORT_API_ENDPOINT=
REACT_APP_PASSPORT_API_KEY=

REACT_APP_PINATA_GATEWAY=
REACT_APP_PINATA_JWT=

REACT_APP_SENTRY_AUTH_TOKEN=
REACT_APP_SENTRY_DSN=

REACT_APP_SUBGRAPH_ARBITRUM_API=
REACT_APP_SUBGRAPH_ARBITRUM_GOERLI_API=
REACT_APP_SUBGRAPH_FANTOM_MAINNET_API=
REACT_APP_SUBGRAPH_FANTOM_TESTNET_API=
REACT_APP_SUBGRAPH_GOERLI_API=
REACT_APP_SUBGRAPH_MAINNET_API=
REACT_APP_SUBGRAPH_OPTIMISM_MAINNET_API=
REACT_APP_SUBGRAPH_PGN_API=
REACT_APP_SUBGRAPH_PGN_TESTNET_API=

REACT_APP_TAG_MANAGER=

REACT_APP_INTERCOM_APP_ID=
69 changes: 47 additions & 22 deletions packages/round-manager/.env.example
Original file line number Diff line number Diff line change
@@ -1,40 +1,65 @@
REACT_APP_ENV=
#### Round-manager specific:

REACT_APP_BUILDER_URL="https://builder.gitcoin.co"
REACT_APP_GRANT_EXPLORER="https://explorer.gitcoin.co"

# Whether to enable direct grants functionality. Cannot be off, included for posterity.
REACT_APP_DIRECT_GRANT_ENABLED="true"

#### End round-manager specific

# development for local, production for prod builds
REACT_APP_ENV=development

# Bring your own API key
REACT_APP_ALCHEMY_ID=
REACT_APP_INFURA_ID=
REACT_APP_WALLETCONNECT_ID=
REACT_APP_WALLETCONNECT_PROJECT_ID=

REACT_APP_ALLOW_URL_DEBUG_MODE=
REACT_APP_DEBUG_MODE=
# Get your credentials at https://www.pinata.cloud/
REACT_APP_PINATA_GATEWAY=
REACT_APP_PINATA_JWT=

# Get your own key at https://scorer.gitcoin.co
REACT_APP_PASSPORT_API_KEY=
REACT_APP_PASSPORT_API_ENDPOINT="https://api.scorer.gitcoin.co"
# This is what the production indexer uses
REACT_APP_PASSPORT_API_COMMUNITY_ID="335"

# Allow overriding permissions checks by appending ?debug=true to the URL
REACT_APP_ALLOW_URL_DEBUG_MODE=true

REACT_APP_ALLO_API_URL=
# Disable permission checks by default
REACT_APP_DEBUG_MODE=false

REACT_APP_GRANT_EXPLORER=
# URL of the indexer. http://localhost:8080 for local indexer
REACT_APP_ALLO_API_URL="https://indexer-production.fly.dev"

# Subgraph URLs
REACT_APP_SUBGRAPH_ARBITRUM_API="https://api.thegraph.com/subgraphs/name/gitcoinco/gitcoin-grants-arbitrum-one"
REACT_APP_SUBGRAPH_ARBITRUM_GOERLI_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-arbitrum-goerli"
REACT_APP_SUBGRAPH_AVALANCHE_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-avalanche-mainnet"
REACT_APP_SUBGRAPH_FANTOM_MAINNET_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-fantom-mainnet"
REACT_APP_SUBGRAPH_FANTOM_TESTNET_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-fantom-testnet"
REACT_APP_SUBGRAPH_FUJI_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-fuji-testnet"
REACT_APP_SUBGRAPH_GOERLI_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-goerli-testnet"
REACT_APP_SUBGRAPH_MAINNET_API="https://gateway.thegraph.com/api/db01d72285a54fa4864050a870e9b16d/subgraphs/id/Ba4YGqqyYVFd55zcQnXS3XYTjJARKe93LY6qNgFbrHQz"
REACT_APP_SUBGRAPH_OPTIMISM_MAINNET_API="https://api.thegraph.com/subgraphs/name/gitcoinco/grants-round-optimism-mainnet"
REACT_APP_SUBGRAPH_PGN_API="https://graph-gitcoin-mainnet.hirenodes.io/subgraphs/name/gitcoin/allo"
REACT_APP_SUBGRAPH_PGN_TESTNET_API="https://graph-gitcoin-testnet.hirenodes.io/subgraphs/name/gitcoin/allo"
REACT_APP_SUBGRAPH_POLYGON_API="https://api.thegraph.com/subgraphs/name/allo-protocol/grants-round-polygon"
REACT_APP_SUBGRAPH_POLYGON_MUMBAI_API="https://api.thegraph.com/subgraphs/name/allo-protocol/grants-round-mumbai"

# Variables below are optional for local development
REACT_APP_DATADOG_APPLICATION_ID=
REACT_APP_DATADOG_CLIENT_TOKEN=
REACT_APP_DATADOG_SERVICE=
REACT_APP_DATADOG_SITE=

REACT_APP_PASSPORT_API_COMMUNITY_ID=
REACT_APP_PASSPORT_API_ENDPOINT=
REACT_APP_PASSPORT_API_KEY=

REACT_APP_PINATA_GATEWAY=
REACT_APP_PINATA_JWT=

REACT_APP_SENTRY_AUTH_TOKEN=
REACT_APP_SENTRY_DSN=

REACT_APP_SUBGRAPH_ARBITRUM_API=
REACT_APP_SUBGRAPH_ARBITRUM_GOERLI_API=
REACT_APP_SUBGRAPH_FANTOM_MAINNET_API=
REACT_APP_SUBGRAPH_FANTOM_TESTNET_API=
REACT_APP_SUBGRAPH_GOERLI_API=
REACT_APP_SUBGRAPH_MAINNET_API=
REACT_APP_SUBGRAPH_OPTIMISM_MAINNET_API=
REACT_APP_SUBGRAPH_PGN_API=
REACT_APP_SUBGRAPH_PGN_TESTNET_API=

REACT_APP_TAG_MANAGER=

REACT_APP_INTERCOM_APP_ID=

0 comments on commit c1b524a

Please sign in to comment.