-
Notifications
You must be signed in to change notification settings - Fork 5
Installation
This document provides step-by-step instructions to install, configure, run, and verify ReqTrace (backend + frontend). Follow the sections below for local development on macOS / Linux or Windows.
-
Git (for cloning the repo)
-
Python 3.11
-
pip
-
Node.js (>=18) and npm
-
Optional: Docker (if you prefer containerized deployment)
-
Recommended: an isolated Python virtual environment (venv)
Ports used by default:
- Backend (uvicorn/FastAPI): 8000
- Frontend (React + Vite): 5173
/SE_Project_2
/backend #Python API & services
/frontend #React app
/docs
README.md
.github/ git clone https://github.com/tiva710/SE_Project_2.git
cd SE_Project_2Activate a virtual environment first to keep dependencies isolated.
- Create & activate virtual environment
cd backend
conda create -n se_project python=3.11 faiss-cpu -c conda-forge
conda activate se_project
pip install openai-whisper - Install Python dependencies
pip install --upgrade pip
pip install -r requirements.txt
brew install ffmpeg
python -m spacy download en_core_web_sm
python -m coreferee install en
/Applications/Python\ 3.11/Install\ Certificates.command
- Update Neo4j credentials
-
Navigate to /backend/app/services/neo4j_service.py
-
Replace "URI" & "pwd" with correct credentials
NEO4J_URI = "URI"
NEO4J_USER = "neo4j"
NEO4J_PASS = "pwd"- Run the development server
uvicorn app.main:app --reload cd backend
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install
pip install -r requirements.txt
python -m spacy download en_core_web_sm
python -m coreferee install en
brew install ffmpeg
#Update Neo4j credentials in backend\app\services
uvicorn main:app --reload - Install dependencies
cd frontend
npm install- Update OAuth credentials
- Rename
.env.templateto.envand replaceYOUR_GOOGLE_CLIENT_IDwith your respective client ID
- Start development server
npm run dev We recommend running tests locally before pushing. Do refer to TESTS.md for instructions and information on coverage report generation.
Do refer to SUPPORT.md for common errors (including installation errors), symptoms, solutions, and more on support resources :)