import React from "react"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, } from "@/components/ui/dialog"; import { Terminal } from "lucide-react"; import { useApi } from "@/contexts/ApiContext"; interface UsageInstructionsModalProps { open: boolean; onOpenChange: (open: boolean) => void; } const UsageInstructionsModal: React.FC = ({ open, onOpenChange, }) => { const { baseUrl } = useApi(); return ( Running LeLab Locally Instructions for setting up and running the project on your machine.

1. Installation

Clone the repository from GitHub:{" "} nicolas-rabault/leLab

              
                git clone https://github.com/nicolas-rabault/leLab
                
cd leLab

Install dependencies (virtual environment recommended):

              
                # Create and activate virtual environment
                
python -m venv .venv
source .venv/bin/activate

# Install in editable mode
pip install -e .

2. Running the Application

After installation, use one of the command-line tools:

  • lelab

    Starts only the FastAPI backend server on{" "} {baseUrl} .

  • lelab-fullstack

    Starts both FastAPI backend (port 8000) and this Vite frontend (port 8080).

  • lelab-frontend

    Starts only the frontend development server.

); }; export default UsageInstructionsModal;