Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 482 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 482 Bytes

staking-efficiency-indexer

Development

Getting started

  1. Set your .env based on the env-example

  2. Install dependencies

npm install --save-dev @google-cloud/functions-framework
  1. Test the framework:
npm run dev

Deployment

gcloud functions deploy staking-efficiency-indexer \
    --region=europe-west3 --source=. \
    --trigger-http --allow-unauthenticated \
    --runtime=nodejs14 --env-vars-file=./.env.yaml \
    --timeout=540s