### Launching Docker Services (Linux/macOS) Source: https://github.com/astrabert/ragcoon/blob/main/README.md Executes the `start_services.sh` script to launch all required Docker services for RAGcoon on Linux/macOS systems, simplifying the setup process. ```bash bash start_services.sh ``` -------------------------------- ### Launching Docker Services (Windows) Source: https://github.com/astrabert/ragcoon/blob/main/README.md Executes the `start_services.ps1` script to launch all required Docker services for RAGcoon on Windows systems, simplifying the setup process. ```powershell .\start_services.ps1 ``` -------------------------------- ### Cloning RAGcoon Repository Source: https://github.com/astrabert/ragcoon/blob/main/README.md This command clones the RAGcoon project repository from GitHub to your local machine, serving as the initial step for both Docker and source code setup methods. ```bash git clone https://github.com/AstraBert/ragcoon.git ``` -------------------------------- ### Manually Setting Up RAGcoon Environment Source: https://github.com/astrabert/ragcoon/blob/main/README.md These commands manually start the Qdrant Docker service, create a Conda environment from `environment.yml`, and activate it, preparing the system for source code execution. ```bash docker compose up qdrant -d conda env create -f environment.yml conda activate ragcoon ``` -------------------------------- ### Launching Backend Application (Uvicorn) Source: https://github.com/astrabert/ragcoon/blob/main/README.md This command starts the RAGcoon backend application using Uvicorn, binding it to all network interfaces on port 8000, serving the FastAPI API. ```bash uvicorn main:app --host 0.0.0.0 --port 8000 ``` -------------------------------- ### Renaming Environment File for Source Code Setup Source: https://github.com/astrabert/ragcoon/blob/main/README.md This command renames the `.env.example` file to `.env` within the `scripts` folder, which is required for source code-based deployments to load the `groq_api_key`. ```bash mv .env.example scripts/.env ``` -------------------------------- ### Manually Launching Docker Services Source: https://github.com/astrabert/ragcoon/blob/main/README.md These commands manually start the Qdrant, frontend, and backend Docker services in detached mode, providing granular control over the application's components. ```bash docker compose up qdrant -d docker compose up frontend -d docker compose up backend -d ``` -------------------------------- ### Launching Frontend Application (Gunicorn) Source: https://github.com/astrabert/ragcoon/blob/main/README.md This command starts the RAGcoon frontend application using Gunicorn, binding it to all network interfaces on port 8001, making it accessible via `http://localhost:8001`. ```bash gunicorn frontend:me --bind 0.0.0.0:8001 ``` -------------------------------- ### Setting Up RAGcoon (Linux/macOS) Source: https://github.com/astrabert/ragcoon/blob/main/README.md Executes the `setup.sh` script to configure RAGcoon for source code deployment on Linux/macOS, handling environment creation and dependencies. ```bash bash setup.sh ``` -------------------------------- ### Setting Up RAGcoon (Windows) Source: https://github.com/astrabert/ragcoon/blob/main/README.md Executes the `setup.ps1` script to configure RAGcoon for source code deployment on Windows, handling environment creation and dependencies. ```powershell .\setup.ps1 ``` -------------------------------- ### Renaming Environment File for Docker Source: https://github.com/astrabert/ragcoon/blob/main/README.md This command renames the `.env.example` file to `.env` in the root directory, which is necessary for Docker-based deployments to load the `groq_api_key`. ```bash mv .env.example .env ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.