-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
40 lines (35 loc) · 1017 Bytes
/
Copy pathsetup.sh
File metadata and controls
40 lines (35 loc) · 1017 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
40
#!/bin/bash
echo "===================================="
echo " Nebula Bot Setup Script"
echo "===================================="
echo ""
# Check Python version
echo "Checking Python version..."
python_version=$(python3 --version 2>&1 | awk '{print $2}')
echo "Found Python $python_version"
# Install dependencies
echo ""
echo "Installing dependencies..."
pip install -r requirements.txt
# Create .env file if it doesn't exist
if [ ! -f .env ]; then
echo ""
echo "Creating .env file from template..."
cp .env.sample .env
echo "✓ .env file created"
echo ""
echo "⚠️ IMPORTANT: Edit .env file and add your API keys before running the bot!"
else
echo ""
echo "✓ .env file already exists"
fi
echo ""
echo "===================================="
echo " Setup Complete!"
echo "===================================="
echo ""
echo "Next steps:"
echo "1. Edit .env file and add your API keys"
echo "2. Run: python bot.py"
echo ""
echo "See README.md for detailed instructions."