Setting up and running a frappe project locally

Hello everyone

I need help configuring and cloning a frappe repo to my local machine for frontend development purposes. I am running a Windows machine and am using WSL to setup the repo. I tried doing bench init and bench setup requirements on the repo and it doesn’t work.

I can confirm that my bench setup is working since I can create a local site normally without a problem.

Is there specific command that I need to run in WSL that will enable me to setup the cloned repo and enable hot reloading on my local?

thank you

Edit: I was able to make the hot reload working but it involved whitelisting some API routes to prevent a CORS error. The current app has multiple routes, is there a command or a config that can automate the whitelisting instead of manually adding it for every route?