- Install node.js on your machine https://nodejs.org/en/download
- In the repositories working directory, create the python virtual environment
python3 -m venv .venv- Enter the python virtual environment
source .venv/bin/activate- Install the python dependencies
pip install -r requirements.txtTo exit the python environment, run the deactivate command. If you want to re-enter the virtual environment, run the source .venv/bin/activate command again.
-
In the VSCode command palette, enter VSCode command palette using
Ctrl + Shift + Pand enterPython: Create Environment -
Select the python interpreter
venv/bin/python -
Select the
requirements.txtfile and clickOk
To re-enter the virtual environment, run the Python: Select Interpreter command.
- Install packages using
npm
npm installnpm install @react-google-maps/api- Run the development server
npm run dev- Open the site on http://localhost:5173 with your browser
-
Create a new terminal & re-enter the Virtual Python Environment (.venv)
-
Navigate to resaurantmap\src\api
cd .\src\api- Run the quart server
uvicorn api:app