Great, let's craft the installation instructions for the README file based on the provided prerequisites and steps:
Before getting started, ensure you have the following prerequisites installed on your system:
- Git
- Python
- PIP
- Docker & Docker Compose
- venv (Python virtual environment)
-
Clone the Repository:
- Create a parent folder to hold everything related to vPrompt.
- Clone the vPrompt Git repository into the parent folder using the following command:
git clone https://github.com/reenphygeorge/vPrompt.git
-
Setup Python Virtual Environment (venv):
- Navigate to the parent folder where the vPrompt repository was cloned.
- Install the
venv
module (if not already installed) by executing:orpython -m venv env
python3 -m venv env
-
Activate the Virtual Environment:
- Activate the virtual environment. Use the appropriate command based on your operating system:
- For Unix/Linux/macOS:
source env/bin/activate
- For Windows (PowerShell):
.\env\Scripts\Activate.ps1
- For Windows (Command Prompt):
.\env\Scripts\activate.bat
- For Unix/Linux/macOS:
- Activate the virtual environment. Use the appropriate command based on your operating system:
-
Install Requirements:
- With the virtual environment activated, install the required packages and dependencies by running:
This will install all the necessary packages listed in the
pip install -r api/requirements.txt
requirements.txt
file, includingultralytics
and others.
- With the virtual environment activated, install the required packages and dependencies by running:
-
Start Using vPrompt:
- Once all dependencies are installed successfully, you can start using vPrompt.
- Make sure to activate the virtual environment (
env
) before running any commands related to vPrompt to ensure that the correct dependencies are used. - If you encounter any issues during the installation process, refer to the troubleshooting section or seek assistance from the vPrompt community or developers.
Feel free to let me know if you need further clarification or if there are any additional details you'd like to include!