-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.sh
More file actions
executable file
·39 lines (33 loc) · 1000 Bytes
/
setup.sh
File metadata and controls
executable file
·39 lines (33 loc) · 1000 Bytes
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
#!/bin/bash
# Setup script for LinkedIn Profile Scraper
echo "======================================"
echo "LinkedIn Profile Scraper - Setup"
echo "======================================"
echo ""
# Check Python version
python_version=$(python3 --version 2>&1 | awk '{print $2}')
echo "✓ Python version: $python_version"
# Create virtual environment
echo ""
echo "Creating virtual environment..."
python3 -m venv venv
# Activate virtual environment
echo "Activating virtual environment..."
source venv/bin/activate
# Install dependencies
echo ""
echo "Installing dependencies..."
pip install --upgrade pip
pip install -r requirements.txt
echo ""
echo "======================================"
echo "✓ Setup completed successfully!"
echo "======================================"
echo ""
echo "Next steps:"
echo "1. Edit config.ini and add your LinkdAPI key"
echo "2. Run: source venv/bin/activate"
echo "3. Run: python main.py"
echo ""
echo "Get your API key at: https://linkdapi.com"
echo ""