Feature: Add Dev Container configuration for backend development#532
Feature: Add Dev Container configuration for backend development#532rshaurya wants to merge 13 commits intocertego:developfrom
Conversation
|
@lucaCigarini @eugenioseveri I think that Thank you @rshaurya, very nice, I'll test it |
|
Hi @rshaurya, |
I'm not sure how we can setup a dev container - capable to attaching debugger to any running containers of our choice - in a multi container environment - using just devcontainer.json. Please explain. And this PR/Issue was specifically for back-end as discussed, I had no plan for front-end, at least in this PR. I can surely, pin the library versions to align with those in requirements_dev.txt. |
|
calling the original doesn't it work? Ok for the creation only of the |
No, it won't work. It'll just run the containers as is, with no way to attach a debugger. And I have updated the library versions. |
|
Hi @Lorygold , |
This PR introduces a VS Code Dev Containers setup to BuffaLogs (#510 ), enabling contributors to spin up a fully configured development environment with minimal local setup.
The goal is to make onboarding easier, reduce environment-related issues, and ensure consistency across contributors’ development setups.
Changes Introduced
Added a
.devcontainer/configuration to the repository.It includes three files:
devcontainer.json,docker-compose.yamlandDockerfile.dev, all of which are configured for backend development.Details on how to run and debug using devcontainers can be found in the
docs/folder.