Job Manager
Prerequisites
Go (v1.23.3 or higher)
MongoDB
Docker
Building and Running Locally
Clone the repository:
git clone https://github.com/yourusername/Job-Manager-Adapter.git
cd Job-Manager-Adapter/bpp/backendCreate a
.envfile in the root directory and add your environment variables.
DB_SERVER=<mongo-db-server-address>
DB_USER=<mongo-db-username>
DB_PASSWORD=<mongo-db-password>
BPP_ID=<bpp-id>
BPP_URI=<bpp-uri>Start the development server:
export $(cat .env | xargs) && go run main.goThe server should now be running at
http://localhost:8080.
Deploying Using Docker
Build the Go program
Update the Makefile
Build the docker image
Run the docker image container
Last updated
Was this helpful?