Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
CursedPrograms authored Jan 23, 2024
1 parent 9ebbc93 commit 1fef4c4
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,17 @@

echo "Setting up the Python environment..."

# Install dependencies (if needed)
# Example: pip install -r requirements.txt
# Install dependencies
if command -v pip &> /dev/null; then
echo "Installing Python dependencies..."
pip install -r requirements.txt
else
echo "Error: pip not found. Please install Python and pip first."
exit 1
fi

# Perform any other setup tasks
# Example: python manage.py migrate
# Run the main Python script
echo "Running main.py..."
python main.py

echo "Setup complete! You're ready to start working on your Python project."

0 comments on commit 1fef4c4

Please sign in to comment.