Setting up the backend
To get started running the backend service you will need:- digger’s repo cloned https://github.com/diggerhq/digger
- some kind of ngrok to tunnel connections to port 3000 - this is needed to receive github webhooks to the service
- go 1.25 running on your machine
Install ngrok
You can use ngrok to tunnel connections to port 3000. You can find installation instructions here.
The reason we need this is so that we can receive github webhooks to the service
Clone the repo
If you are planning to contribute you would need to fork the repo and clone it locally:
Creating environment variables
Create a note that you would need to source this file before running the backend serviceAnd after that you can run the service with:You should see a message that the service is listening on port 3000. Visiting that url should show you a ui screen that digger is up and running.
.env file in the folder backend/ of the repo and add the following:Next steps
From here on you can follow the steps in the self hosting binary guide here

