Remove legacy installation scripts

This commit is contained in:
hteppl
2024-12-23 16:00:26 +03:00
parent 761ee488e2
commit 5143f8eb09
2 changed files with 0 additions and 34 deletions
-23
View File
@@ -1,23 +0,0 @@
#!/bin/bash
# Check if the virtual environment directory exists
if [ ! -d "venv" ]; then
echo "Creating virtual environment..."
python3 -m venv venv
fi
# Activate the virtual environment
source venv/bin/activate
# Install dependencies if they haven't been installed yet
if [ ! -f "venv/lib/python*/site-packages/installed" ]; then
echo "Installing wheel for faster installing..."
pip3 install wheel
echo "Installing dependencies..."
if [ -f "requirements.txt" ]; then
pip3 install -r requirements.txt
fi
fi
echo "Installation completed successfully!"
-11
View File
@@ -1,11 +0,0 @@
#!/bin/bash
# Activate the virtual environment
source venv/bin/activate
# Start the bot
echo "Starting the bot..."
python3 main.py
# Deactivate the virtual environment when done
deactivate