Ask HN: Web dev environment on Windows?
I just sold my Macbook for a new Razer Blade Pro. Reason being I'm looking to test out some VR stuff and obviously need a proper video card.
Although, I still need to do some web dev stuff. It has honestly been a nightmare getting this setup to the point I said "screw it" and started working inside a virtual box using Vagrant. This works great most of the time, but just adds a barrier for when I want to get up and running on a new idea quick.
For all you Windows users out there, what's your setup like? I work mostly in Node.
11 comments
[ 1.8 ms ] story [ 33.4 ms ] threadAlso I would enable the WSL to get bash. Install conemu and you are pretty much good to go.
You will be surprised how well bash works. The fact you can use apt-get to access the ubuntu repos means it's even better than homebrew. You can even run an x-server and use gui apps.
If I get Windows Bash do I still need things like visual studio to compile node-gyp stuff?
Then you can easily work on node projects by going into your project folder with windows bash. Then run "docker run -it -d --name nodejs -p 3000:3000 -v $PWD:/workdir -w /workdir node:latest bash"
This will launch a nodejs container a drop you into a tty inside the container. Then you can edit your files from windows and do npm install.. npm run... etc fro inside the container. localhost:3000 will have your app
Not through vagrant, just a normal Linux desktop (that happens to live in a virtualbox). I do all my web work this way, and it works just fine.