Backend for the Better Call Dev contract explorer & developer dashboard
https://you.better-call.dev
- docker
- docker-compose
git clone https://github.com/baking-bad/bcdhub.git
cd bcdhub
Place env file to the project folder with the following content:
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITLAB_CLIENT_ID=
GITLAB_CLIENT_SECRET=
JWT_SECRET_KEY=
OAUTH_STATE_STRING=
BCD_AWS_BUCKET_NAME=
BCD_AWS_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_DB=
GIN_MODE=debug
BCD_ENV=development
docker-compose up -d --build
Using images from the dockerhub (need to specify tag):
https://hub.docker.com/repository/docker/bakingbad/bcdhub-api
https://hub.docker.com/repository/docker/bakingbad/bcdhub-indexer
https://hub.docker.com/repository/docker/bakingbad/bcdhub-opindexer
https://hub.docker.com/repository/docker/bakingbad/bcdhub-metrics
TAG=2.0.0 make deploy