Skip to content

Commit

Permalink
updgrades script
Browse files Browse the repository at this point in the history
  • Loading branch information
droid-mohit committed Dec 20, 2024
1 parent 2784272 commit 94f7658
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions start_all_services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ export FLUENTD_ADDRESS=localhost:24224

echo "Setting up Python virtual environment..."

# Check if virtualenv is installed, if not, install it
if ! command -v virtualenv &>/dev/null; then
echo "virtualenv not found, installing..."
pip install virtualenv
# Create the virtual environment using python3 -m venv
if [ ! -d "venv" ]; then
python3 -m venv venv
echo "Virtual environment created successfully."
fi

# Create and activate the virtual environment
python3 -m venv venv
# Activate the virtual environment
source venv/bin/activate

# Step 3: Install Python dependencies
echo "Installing Python dependencies..."
pip install --upgrade pip # Upgrade pip to avoid any issues with older versions
pip install -r requirements.txt

# Step 4: Install frontend dependencies
Expand Down

0 comments on commit 94f7658

Please sign in to comment.