This project consists of a frontend and a backend for analyzing slide presentations. Below are the instructions to set up and run the project on your local machine.
- Python 3.x
- Node.js and npm
- Git
-
Clone the repository:
git clone https://github.com/yourusername/slide-analyzer.git cd slide-analyzer
-
Backend Setup:
a. Create a virtual environment:
python -m venv venv
b. Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS and Linux:
source venv/bin/activate
c. Install the required packages:
pip install -r requirements.txt
- On Windows:
-
Frontend Setup:
a. Navigate to the frontend directory:
cd slide_analyzer_frontend
b. Install the required packages:
npm install
c. Return to the project root:
cd ..
-
Make sure you're in the project root directory.
-
Ensure that the
start.sh
script has execute permissions:chmod +x start.sh
-
Run the project using the start script:
./start.sh
This script will:
- Start the backend server
- Start the frontend development server
- Open your default web browser to the application
-
The application should now be running:
- Backend:
http://localhost:8000
- Frontend:
http://localhost:3000
- Backend:
- If you need to change the ports or other configuration settings, you can modify the
start.sh
script and the respective configuration files for the backend and frontend.
- If you encounter any issues with dependencies, make sure both your Python and Node.js installations are up to date.
- For backend issues, check the console where you ran
./start.sh
for Python error messages. - For frontend issues, check the browser's developer console for JavaScript errors.
- The backend code is located in the
slide_analyzer_backend
directory. - The frontend code is located in the
slide_analyzer_frontend
directory. - Make sure to activate the virtual environment (
source venv/bin/activate
orvenv\Scripts\activate
on Windows) when working on the backend.
If you'd like to contribute to this project, please fork the repository and create a pull request with your changes.
If you encounter any issues or have questions, please file an issue on the project's GitHub repository.