From 5143f8eb099f11fa77e905065cda8f1ca305f7a5 Mon Sep 17 00:00:00 2001 From: hteppl Date: Mon, 23 Dec 2024 16:00:26 +0300 Subject: [PATCH] Remove legacy installation scripts --- install.sh | 23 ----------------------- start.sh | 11 ----------- 2 files changed, 34 deletions(-) delete mode 100644 install.sh delete mode 100644 start.sh diff --git a/install.sh b/install.sh deleted file mode 100644 index 1ed1a504..00000000 --- a/install.sh +++ /dev/null @@ -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!" diff --git a/start.sh b/start.sh deleted file mode 100644 index 64550735..00000000 --- a/start.sh +++ /dev/null @@ -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