Hey all, I'm looking for ways to create a portable web development setup. I want to be able to plug in and code from different devices, like my home PC and my laptop, especially since I'm frequently changing locations. Is this achievable? What setups or strategies would you recommend for this? Thanks in advance!
5 Answers
For a local option, you might want to consider using a USB with a portable version of VS Code and XAMPP. This way you can easily set up your environment anywhere. If you're comfortable with Docker, using dev containers is also a solid choice.
I recommend trying out GitHub Codespaces for the ultimate portable experience. It’s seamless and allows you to code from anywhere without worrying about local setups. If you're on the move, this could be your best bet!
If you're looking for simplicity, a Linux virtual machine on a USB stick is a great option. This was my go-to 15 years ago and it still works perfectly today! Just remember to back it up regularly.
I personally use an AWS EC2 instance as my development environment. I connect to it through VSCode SSH. It’s pretty portable and I can access it from anywhere as long as I have internet!
Using source control is a solid way to handle this. I usually push my code to GitHub when I'm finished on one device and pull it down on the other. This keeps everything synced and avoids having to set everything up again each time you switch devices.
Definitely! If someone just wants to go to any PC without setting up tools like VS Code or Node, having a Linux system on a USB might be the way to go.
Exactly! Plus, you could use Terraform to build and destroy instances as needed. Make sure to set up your SSH key for easier access!