...
- Open up the repo in vscode, and you will be prompted to open up the devcontainer.
- Click yes, give it a few minutes to setup, it will run docker-compose.yml which will setup the mongodb locally
- Now that your development environment is setup, open up a terminal in vscode. Which should open you in the container, at folder '/workspace'
- Do a 'make build'
![](/download/attachments/446504291/image-2024-5-3_11-22-22.png?version=1&modificationDate=1714760542364&api=v2)
At the moment there is errors- I solved the vcs status error by
- do a git status
- follow the command it outputs
![](/download/attachments/446504291/image-2024-5-3_11-23-49.png?version=1&modificationDate=1714760629057&api=v2)
- Got rid of the error:
![](/download/attachments/446504291/image-2024-5-3_11-24-40.png?version=1&modificationDate=1714760680645&api=v2)
- I solved the malformed import path "-o": leading dash by
- Edit line 8 in makefile
Original: go build ./... -o cbs
New: go build -o cbs ./...
- Then it should be able to run
- Example
...
Image Added
Deployment Database
TBD
{"serverDuration": 55, "requestCorrelationId": "74a2ffe7d070ed90"}