- Clone the repo:
git clone git@github.com:AAFC-BICoE/dina-dev.git
- Run this script to clone the dina repos:
cd ./dina-dev
sh init-repo.sh
- Optional: Install recommended VS Code extensions:
code ./dina-dev
sh install-recommended-vscode-extensions.sh
cd dina-compose
./dev.sh up
dev.sh
is just short-hand for docker-compose
with the dev launch config.
The UI should be available at dina.traefik.me.
For breakpoints and inspection:
- Open the VS Code Run menu (Ctrl + Shift + D).
- Run the "Attach" configuration for the service you want to debug e.g. "Attach to Object Store API".
If you get this error using VS Code Remote, you may need to uninstall VS Code's Lombok extension from the host VS Code. Extensions are installed separately for the host and remote machine, and the Lombok extension may have issues being installed on both.