Ian Dai - idai - 80419415
Xiao Du - xdu7 - 56714415
Henry Wang - penghanw - 85703671
Ensure Python is installed
- Run
cd api
- Create a virtual environment so that dependencies do not conflict
python -m venv .venv
-
Activate virtual environment
VS Code may prompt to automatically select the newly created virtual environment. Otherwise, for Mac/Linux, run
source .venv/bin/activate
and for Windows, run
.\.venv\scripts\activate
-
To install dependencies, run
pip install -r requirements.txt
You can now run any python code.
Ensure you are in the root directory and that you have the all of the webpages in one folder labeled "DEV" in the indexer folder
Like so:
To start creating the index, run
python indexer\indexer.py
or
python3 indexer\indexer.py
- From root directory
Run
cd api
cd src
- Run
python main.py
or
python3 main.py
-
Install Node and npm here.
From root directory
Run
cd front
Run
npm install
Run
npm run dev
A server will start at http://localhost:5173/ (or 127.0.0.1:5173)
Open a browser and navigate to http://localhost:5173/ (or 127.0.0.1:5173)
The page should look something like this
Simply enter a query into the search bar at the top and click Search