vimj1915 commited on
Commit
a0a2f87
·
verified ·
1 Parent(s): 9f898d6

Create setup.sh

Browse files
Files changed (1) hide show
  1. setup.sh +25 -0
setup.sh ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ echo "🔧 Setting up your AI Agent environment..."
4
+
5
+ # Create virtual environment
6
+ python3 -m venv .venv
7
+ source .venv/bin/activate
8
+
9
+ # Upgrade pip
10
+ echo "📦 Upgrading pip..."
11
+ pip install --upgrade pip
12
+
13
+ # Install dependencies
14
+ echo "📚 Installing requirements..."
15
+ pip install -r requirements.txt
16
+
17
+ # Confirm .env setup
18
+ if [ -f ".env" ]; then
19
+ echo "🔐 .env file detected. API keys will be loaded automatically in your Python scripts."
20
+ else
21
+ echo "⚠️ .env file not found. Create one with your OpenAI and SerpAPI keys."
22
+ fi
23
+
24
+ echo "✅ Setup complete. Activate your environment with:"
25
+ echo "source .venv/bin/activate"