Skip to content

Commit

Permalink
Update deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Chanchreek authored Sep 19, 2024
1 parent b6d4de4 commit f807f77
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@

#!/bin/bash
set -e

echo ""
echo "Installing python3.12-venv..."
echo "--------------------------------"
sudo apt-get update
sudo apt-get install -y python3.12-venv

echo ""
echo "Creating a Python virtual environment..."
echo "--------------------------------"
python3 -m venv venv

echo ""
echo "Activating the Python virtual environment..."
echo "--------------------------------"
source venv/bin/activate

echo ""
echo "Install Python dependencies..."
echo "--------------------------------"
pip install -r requirements.txt

echo ""
echo "Starting the Python application..."
echo "--------------------------------"
python app.py

# TODO your deploy script implementation...
# TODO your deploy script implementation...

0 comments on commit f807f77

Please sign in to comment.