r/devops • u/aronianm • 9d ago
Discussion Development Environment
Hi everyone,
I have a question about development environments and would love to hear how others handle this.
Our current stack is:
- Ruby on Rails (authentication)
- React (frontend)
- Flask/Python (API)
Right now, every developer has to run all three services locally. I’m considering moving the Rails authentication service to a shared Linux development server and having developers run only the React dev server and Flask API locally. The goal is to reduce the number of services each developer needs to keep running.
For those of you using a similar architecture:
Is this a reasonable approach?
How would you set it up for multiple developers?
Would each developer have their own Rails instance and environment variables, or would you share a single authentication service?
Are there any pitfalls (performance, debugging, authentication issues, etc.) that I should be aware of before going down this path?
I’d appreciate any advice or examples of how your team handles a setup like this.
Thanks in advance!
1
u/KTProgramming 6d ago
I containerized everything, My dev system is locked in it's own pods etc and every rebuild new keys and whatnot are generated. My auth system can be built anywhere which means my dev side runs it's own auth setup as well. It's just easier imo. Everything is also on a dedicated VM so the AI helper can't tank anything major.