Skip to content

Command lines to execute when set up WSL and VS Code for the first time

Notifications You must be signed in to change notification settings

13acts/WSL-Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

WSL Setup for Windows

Step by step guide to set up WSL and VS Code for the first time on Windows


Install necessary apps

  1. Install VSCode
  2. Download Ubuntu from Microsoft Store (choose the one with only Ubuntu, without version numbers)
  3. Install Ubuntu, restart PC, open WSL and set up username and password
  4. On VSCode, install WSL extension (use v.75.3 to have Open Folder option in the Search bar)
  5. Open Folder in WSL


Additional steps to install Python and flask

To transit from CS50 Codespace to coding locally for the Final Project

  1. sudo apt-get update
  2. sudo apt-get install python3
  3. sudo apt-get install python3-pip
  4. sudo apt-get install python3-flask
  5. pip3 install flask_session
  6. pip3 install cs50
  7. pip3 install requests
  8. sudo apt-get install sqlite3
  9. .mode table

Run flask in debug mode

  1. export FLASK_DEBUG=1 && flask run

About

Command lines to execute when set up WSL and VS Code for the first time

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published