to run entire stack
make dev-up # Bring the stack up
make dev-down # Bring the stack down
to run (unit) tests:
make reset-deps next-watch
to run e2e tests:
make e2e
to run the server:
make run-server
-
Auth with
$ gcloud auth login
-
Configure docker
$ gcloud auth configure-docker
-
Run
$ make bump-cala-docker-image
to test that image can be fetched
-
Create a github "fine-grained token" with Content read-only permission
-
Add token to
.env
file asexport GITHUB_TOKEN=<token-here>
-
Run
$ direnv allow
to source token -
Run
$ make bump-cala-schema
to update schema
the access through the frontends needs to be proxied to oathkeeper to receive the correct Header
admin panel: http://localhost:4455/admin-panel
use email admin@galoy.io connect to http://0.0.0.0:8025/
- if you see a cookie error, delete the cookie and reload the page (for now)
ensure you have the TF_VAR_sa_creds env variable in .env
run
gcloud auth application-default login
you can verify you already have access by running
gcloud auth application-default print-access-token
commands to re-run when adding new BQ tables:
git checkout pre-merged-commit
# this is important to have the previous state before pulling
make reset-deps
git pull
make init-bq
If you are doing work that requires adding a new big query table you need to add it to ./tf/cala-setup/bq.tf