- Node.js and npm installed
- Python 3.11 installed
To automate all installations and run both the frontend and backend together, use the following command:
cd frontend
npm run start:fullThis will:
- Create and activate a virtual environment (if it doesn't exist).
- Install the required Python dependencies.
- Start the backend server (server.py).
- Install the required node packages
- Start the frontend.
If you are on a mac you will need to first grant the start:full script executable permissions, this can be done by navigating to the frontend directory and executing chmod a+x ./scripts/start.sh
If you are on windows open a git bash terminal and run npm run start:full in the frontend directory
To run the frontend only:
cd frontend
npm ci
npm run startTo run the backend only, follow these steps:
- Navigate to the backend directory:
cd backend- Create and activate the virtual environment (if it doesn't exist):
python3 -m venv venv
source venv/bin/activate- Install the required Python dependencies:
pip install -r requirements.txt- Run the server:
python server.py