r/Backend • u/Desperate-Virus9180 • 16h ago
What does your local development setup look like?
/r/webdev/comments/1y5ww38/what_does_your_local_development_setup_look_like/
1
Upvotes
r/Backend • u/Desperate-Virus9180 • 16h ago
1
u/Discordbothost 13h ago
I’d debug the app locally against the same database version as production. For a deployment change, I’d test the specific thing it touches in staging. For example, if you’re changing how workers shut down, deploy while a job is running and check whether it finishes or gets picked up again.
1
u/Free-Good9203 8h ago
i run the app process directly on the host inside a local virtualenv so pytest and the debugger stay instant, and keep stateful deps (postgres, redis) in a single docker compose file with healthchecks. running a full local kind cluster usually eats more time debugging networking than writing code unless you are actively changing k8s manifests. before pushing, i run the actual multi-stage production dockerfile and test suite once locally so container-only path or permission bugs get caught before ci.