- Install VSCode
- Download Ubuntu from Microsoft Store (choose the one with only Ubuntu, without version numbers)
- Install Ubuntu, restart PC, open WSL and set up username and password
- On VSCode, install WSL extension (use v.75.3 to have Open Folder option in the Search bar)
-
Open Folder in WSL
sudo apt-get updatesudo apt-get install python3sudo apt-get install python3-pipsudo apt-get install python3-flaskpip3 install flask_sessionpip3 install cs50pip3 install requestssudo apt-get install sqlite3.mode table
export FLASK_DEBUG=1 && flask run