-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
48 lines (40 loc) Β· 1.08 KB
/
Copy pathsetup.sh
File metadata and controls
48 lines (40 loc) Β· 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/bash
# Quick setup script for Resume Analyser
echo "π Resume Analyser Setup"
echo "========================"
echo ""
# Check Python version
python_version=$(python3 --version 2>&1 | awk '{print $2}')
echo "β Python version: $python_version"
# Install dependencies
echo ""
echo "π¦ Installing dependencies..."
pip install -r requirements.txt
# Create secrets directory
echo ""
echo "π Creating .streamlit directory..."
mkdir -p .streamlit
# Check for API keys
echo ""
echo "π API Key Setup"
echo "================"
echo ""
if [ -z "$GROQ_API_KEY" ]; then
echo "β οΈ GROQ_API_KEY not set"
echo " Get your free key at: https://console.groq.com"
else
echo "β GROQ_API_KEY is set"
fi
if [ -z "$GEMINI_API_KEY" ]; then
echo "β οΈ GEMINI_API_KEY not set"
echo " Get your free key at: https://aistudio.google.com"
else
echo "β GEMINI_API_KEY is set"
fi
echo ""
echo "β
Setup complete!"
echo ""
echo "To run the app:"
echo " export GROQ_API_KEY='your_groq_key'"
echo " export GEMINI_API_KEY='your_gemini_key'"
echo " streamlit run app.py"