import { useState } from 'react'; import { motion } from 'framer-motion'; import { Copy, Terminal, Download, Play, CheckCircle } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Card } from '@/components/ui/card'; import { useToast } from '@/hooks/use-toast'; const InstallationSection = () => { const { toast } = useToast(); const [copiedIndex, setCopiedIndex] = useState(null); const installationSteps = [ { title: "Clone Repository", description: "Download the ResumeAnalyse RAG Architecture project", code: "git clone https://github.com/deepanmpc/ResumeAnalyse_RAG-Architecture.git\ncd ResumeAnalyse_RAG-Architecture", icon: Download }, { title: "Install Dependencies", description: "Set up Python dependencies and virtual environment", code: "python -m venv venv\nsource venv/bin/activate # On Windows: venv\\Scripts\\activate\npip install -r requirements.txt", icon: Terminal }, { title: "Configure Environment", description: "Set up your environment variables and API keys", code: "cp .env.example .env\n# Edit .env with your configurations\n# Add your LLM API keys if needed", icon: CheckCircle }, { title: "Run the Application", description: "Start the backend server and web interface", code: "# Start the backend\npython app.py\n\n# In another terminal, start the frontend\nnpm install\nnpm run dev", icon: Play } ]; const copyToClipboard = async (text: string, index: number) => { try { await navigator.clipboard.writeText(text); setCopiedIndex(index); toast({ title: "Copied!", description: "Code copied to clipboard", }); setTimeout(() => setCopiedIndex(null), 2000); } catch (err) { toast({ title: "Failed to copy", description: "Please copy the code manually", variant: "destructive", }); } }; return (
{/* Background Effects */}

Quick Setup

Get your RAG-powered resume analysis system running in minutes with our streamlined installation process.

{installationSteps.map((step, index) => { const IconComponent = step.icon; return (
{index + 1}

{step.title}

{step.description}

                            {step.code}
                          
); })}

Need Help?

Check out the detailed documentation on GitHub for troubleshooting and advanced configuration options.

); }; export default InstallationSection;