graphql-engine/.envrc.local.example
Daniel Harvey 36c4deb963 tooling(server): new .envrc.local.example items
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9371
GitOrigin-RevId: fad89c7a58403b642fdf7f55d1e185772e8722af
2023-05-31 10:39:49 +00:00

36 lines
1.3 KiB
Bash

#!/usr/bin/env bash
### This is an example .envrc.local file you can start with. Uncomment the parts
### you'd like to use, and copy this to `.envrc.local`.
### Enable providing tooling with the Nix package manager
### (read the commentary in flake.nix first)
# use flake
### Enable providing NodeJS versions with `nvm`
# use nvm
### Enable providing GHC versions with `ghcup`
# use ghcup
### Raise open file limit to stop `api-tests` struggling
# ulimit -n 10240
### Export key for running BigQuery tests locally. This depends on a
### `bigquery-service-account-key.json` key living in the directory above
### the `graphql-engine` repository.
# HASURA_BIGQUERY_PROJECT_ID='regency-polecat-beehive'
# export HASURA_BIGQUERY_PROJECT_ID
# HASURA_BIGQUERY_SERVICE_KEY=$(cat ../bigquery-service-account.json)
# export HASURA_BIGQUERY_SERVICE_KEY
### Enable to use the correct image for SQLServer on an M1
### (the env var is used in our Docker Compose files)
# export MSSQL_IMAGE='mcr.microsoft.com/azure-sql-edge'
### Export EE license key for running pro tests locally
### This depends on a `ee-license-key.txt` living in the directory above
### the `graphql-engine` repository
# HASURA_GRAPHQL_EE_LICENSE_KEY=$(cat ../ee-license-key.txt)
# export HASURA_GRAPHQL_EE_LICENSE_KEY