-
Authenticate requests
Data Provider Register/Get Credentials For node script BigQuery Define Google Service Account and export google credentials in a .key.json
fileecho "GOOGLE_CLOUD_PROJECT=your-project-id\GOOGLE_APPLICATION_CREDENTIALS='$(cat .key.json)'" > .env
Dune Analytics Create Dune Account echo "DUNE_API_KEY=yourduneapikey" >> .env
The Graph Subgraph Studio echo "GRAPH_API_KEY=yourapikey" >> .env
-
Source
.env
file:source .env
-
Start
- node script
pnpm i pnpm start.dev
- node script
In case new queries are added or existing ones are updated, re-create the artifacts with:
pnpm build.graph
Automatic with deploy-*.yml
GitHub workflows
Or manually
Install [`flyctl`](https://fly.io/docs/flyctl/installing/).
flyctl deploy \
--config apis/query/fly-staging.toml \
--dockerfile apis/query/Dockerfile \
--remote-only