Linux serverlinux web serverNETWORK ADMINISTRATIONS

Setting Up a Windows PC For Web Development: WSL, Git, Node.js, Docker, Oh My Zsh, & MySQL

Let’s walk through setting up a Windows PC for web development, and use Windows Subsystem For Linux as the backbone.

My premium courses: https://learnwebcode.com/courses/

Finished product Node.js code: https://gist.github.com/LearnWebCode/77ee90bc2d7f1afc97fa55d9b31ea955

Finished product Docker Compose file:
https://gist.github.com/LearnWebCode/bc4a2b67e9b30063609aa85d908708e8

0:00 Intro
1:03 Windows Subsystem For Linux
5:24 Just For Fun: cmatrix
6:20 VS Code Integration
8:57 Oh My Zsh
11:00 Git
15:52 Windows Terminal
20:40 Node.js
24:50 Docker
33:18 Upgrading From WSL1 To WSL2
38:25 MySQL

Follow me for updates on new videos or projects:
Instagram: https://www.instagram.com/javaschiff/
Twitter: https://twitter.com/learnwebcode
Facebook: https://www.facebook.com/Brad-Schiff-1542576316048470/
Twitch: https://www.twitch.tv/learnwebcode

source

by LearnWebCode

linux web server

21 thoughts on “Setting Up a Windows PC For Web Development: WSL, Git, Node.js, Docker, Oh My Zsh, & MySQL

  • At 1:55 and 3:50 you were in select mode (as evidenced by the changed window title). Microsoft made it easier to copy text from the console window and PowerShell. You need to press [Esc] to exit this mode.

  • Great video by the way, helped me a lot am new to linux, just figured that i need to know how to use it as a web developer(backend) especially the ubuntu distro, but unfortunately, i cannot upgrade to wsl2 because my computer didn't meet the requirements therefore can't use docker (very worried) could you help, is there a way to use docker with the wsl 1?

  • Just finished this great tut and thanks for that.
    It took me some time but that is because along the way I also spent time to get Ubuntu as Docker running on my T5 and were I succeeded in too.

  • I’ve been using wsl for a year now, and my main struggle was syncing projects between two wsl machines. I didn’t even know wsl can access files on windows that easy so now I won’t store anything inside the distro. And set the cloud backup to sync my projects. Thanks much man!

  • This iw awesome! Thank you.

    I have follow up questions. My reason for installing WSL was to use ddev…

    You did this thing where you mount your C drive in Ubuntu. If I do that, will I still be able do my ddev stuff in my Linux home directory?

    Or will that be available from anywhere?

  • I absolutely love the rawness of this video, if errors come we fix it together with logical approach and not just cut that part!

  • i normally use 'nvm' to manage my node versions instead of directly installing node.

  • I showed cmatrix to my partner but she wasn't convinced of anything, just kinda shouted 'whyyyy' at me. Thanks for the vid!

  • Awesome video. Now I'm really thorn between a windows machine vs mac to go back to school!

  • I've learned frontend dev for a couple of months now. Starting my backend learning, and I was having a hard time setting up the dev environment, especially using wsl. Can't thank you enough for the tutorial, really great video. Thanks man

  • hmm maybe its time to try dev on windows and switch fro mac?

  • Thank you so much man I'm new to web dev and this video was super helpful!

  • Thanks for this, btw one quick question if I use only the docker in wsl2 and running node on my windows will that affect/increase the speed rather than opening my source code in the remote wsl directly?

  • Does any one know , what's with the buzzing sound in terminal ?

  • Thanks so much for this video, it took me a few tries to get everything right but now I have a much better understanding of Docker and how I can begin to match environments locally with hosted websites 🙂

Comments are closed.