Follow these steps to install and set up SutureService:
- Clone the repository:
git clone https://github.com/DreamTeamSE/SutureService.git
-
Navigate to the frontend directory:
cd frontend -
Install dependencies:
npm install
-
Start the development server:
npm run dev
You have successfully set up the frontend for SutureService! You can now open the web app with the local address provided in the terminal.
-
Navigate to the arduino directory:
cd arduino -
Set up virtual environment:
python3 -m venv venv source venv/bin/activate -
Install dependencies:
pip install -r requirements.txt
-
Start the application:
python main.py
You have successfully set up the Arduino part of SutureService! You can now run the application with the command provided above.
Important: Ensure that the Arduino mocks are running before setting up the backend. This is necessary for the backend to function correctly.
-
Navigate to the backend directory:
cd backend -
Build the Docker image:
docker build -t app . -
Deploy the application with Docker Compose:
(cd dev-env && docker compose up -d) -
View API documentation: Navigate to the Swagger API Documentation at: http://127.0.0.1:8000/docs
The application will be available on the configured ports as specified in the docker-compose.yml file. You have successfully set up the backend for SutureService!