I’m starting to work with JavaScript, and I plan to explore frameworks. While I currently use Visual Studio Code on my Mac, Windows, and Linux laptops, I’m considering the idea of self-hosting a Visual Studio Code server on my own VPS.(debian server).
I’ve also discovered the utility of Docker containers for my projects, allowing me to set up environments with the necessary tools like Node.js. This way, I can easily manage my development environment.
So, I’m curious, what’s your setup like? I’m trying to avoid the hassle of switching between three different computers or clients. I believe that if I can access my VPS and start working on my code, it would greatly streamline my development process.
I work in JS, React and a postgres DB, I decided to go with a bit of a mix. I was already using Github as my repo and local containers for my apps. But I was building my containers locally and deploying via scripts.
I recently adopted using actions with self-hosted runners to create my images. For dev it runs on the self-hosted and drops the image locally. For prod, it’s run on the self-hosted and uploaded to my image registry(docker hub). I am working on terraform now to watch for the new image and create a new container with it.
I am also using GitHub secrets for my environment variables.
thank you for sharing your workflow although may be a bit advance for me I see where is going. I work with sysadmin areas, but I’m really interested into devops and cloud engineering for AWS. But someone invite me to join a dev team for a js, React and postgress DB project.
So I’m starting to learn Js. So I wanted to have some insights in how to approach this. thank you