This project provides tools to build a body measurement and size recommendation system. You can run this system locally on your machine or using Docker.
- Python: The system requires Python 3. Make sure Python is installed on your machine. If not, download and install it from the official Python website.
- Docker: For running the system in a Docker container, ensure Docker is installed. If not, install it from the Official Docker Website.
To get started, clone the repository to obtain the latest version of the system:
git clone https://github.com/MeasureMe-FinalProject/body_measurement
- Open a terminal or command prompt.
- Navigate to the project's root directory.
- Optionally, create a Python virtual environment to isolate package dependencies.
- Install the required Python packages:
pip install -r requirements.txt
Run the system by executing:
python debug.py
This will start the system locally, allowing direct interaction on your machine.
- Navigate to the project directory in a terminal.
- Build the Docker image (replace
<image-name>
with a name of your choice for the Docker image):docker build -t <image-name> .
- Run the Docker container by mapping the ports:
docker run -p <host-port>:<container-port> <image-name>
Replace <host-port>
and <container-port>
with the port numbers you want to use for the host machine and the container, respectively. Ensure that <image-name>
matches the name you used when building the Docker image.
By following these instructions, you can run the system either locally or using Docker, depending on your preference and development environment setup. This flexibility allows you to develop and test in an environment that matches your deployment strategy.