By participating in this project, you are expected to uphold our Code of Conduct.
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
All Python code must adhere to PEP 8.
All JavaScript code is linted with Prettier.
- Use functional components and hooks instead of class components
- Use PropTypes for type checking
We use Tailwind CSS for styling. Please refer to the Tailwind CSS documentation for best practices.
- Ensure you have Python 3.7+ installed
- Clone the repository:
git clone https://github.com/hadil1999-creator/RAG_Hack_team.git
- Navigate to the backend directory:
cd backend
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
- On Windows:
- Install dependencies:
pip install -r requirements.txt
- Run the FastAPI server:
uvicorn main:app --reload
- Ensure you have Node.js and npm installed
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Run the development server:
npm run dev
Thank you for your contributions!