Skip to content

TonyPham-ctrl/HotSpot-map

 
 

Repository files navigation

restaurantmap

Global Install Requirements

  1. Install node.js on your machine https://nodejs.org/en/download

Running Python Virtual Environment

WSL/Shell

  1. In the repositories working directory, create the python virtual environment
python3 -m venv .venv
  1. Enter the python virtual environment
source .venv/bin/activate
  1. Install the python dependencies
pip install -r requirements.txt

To 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.

VSCode

  1. In the VSCode command palette, enter VSCode command palette using Ctrl + Shift + P and enter Python: Create Environment

  2. Select the python interpreter venv/bin/python

  3. Select the requirements.txt file and click Ok

To re-enter the virtual environment, run the Python: Select Interpreter command.

Running Development Environment Vite

  1. Install packages using npm
npm install
npm install @react-google-maps/api
  1. Run the development server
npm run dev
  1. Open the site on http://localhost:5173 with your browser

Running Development Environment Flask

  1. Create a new terminal & re-enter the Virtual Python Environment (.venv)

  2. Navigate to resaurantmap\src\api

cd .\src\api
  1. Run the quart server
uvicorn api:app

About

Heatmap for local area restaurant based on reviews

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 98.3%
  • Python 0.7%
  • TypeScript 0.7%
  • CSS 0.3%
  • JavaScript 0.0%
  • HTML 0.0%