r/learnwebdev • u/Dan_the_Marksman • Jan 06 '21
How do i setup a good environment for web development?
Hi, so i have a background in programming but other than the usual front end stuff you learn in trade school no real experience in web development... i'm not looking design a fancy website but rather learn more about back-end and the interaction of the two... does anybody have a good source for that and should i start with setting up a apache or nginx server ?
2
Upvotes
1
u/[deleted] Jan 06 '21 edited Jan 06 '21
For me I have a windows/linux VM that I run some stuff in. My Linux VM is used for some database stuff as well as my nginx reverse proxy.
Although I think what you might be looking for is maybe something like a docker container.
Check out something like this.
https://www.freecodecamp.org/news/docker-nginx-letsencrypt-easy-secure-reverse-proxy-40165ba3aee2/
I haven't read through the guide too much, but often I look for something I'm trying to do and then just look up how to do it. This seems like something you may be interested in.
1
u/boomer1204 Jan 06 '21
Really depends on your current OS. Like the above person a docker container could be good or if you aren't on windows linux and mac just setup whatever language you wanna code in. Otherwise I used this for my windows machine (I have linux mac and windows) but all my ruby on rails and vue side projects have been on windows and it's really good with WSL2 https://fireship.io/lessons/windows-10-for-web-dev/
The big thing is if you are on windows and set it up make sure all your code files are on the linux partition or you might experience some slow down from the poor I/o with WSL2 (at least that fixed it for me from the small research I did about)
But If you need more help clarify the OS you will use and what languages you want to setup your machine for