Skip to content

Commit e04442d

Browse files
authored
Merge pull request #59 from fieldsoftheworld/fix-uv-deploy
fix: uv deployment script
2 parents 590bbb0 + 7c787d5 commit e04442d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

deploy.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ echo "Updating system packages..."
3030
sudo apt-get update
3131
sudo apt-get upgrade -y
3232

33-
echo "Installing system dependencies..."
34-
sudo apt-get install -y curl python3.12 python3.12-venv
35-
3633
echo "Installing UV..."
3734
if command -v uv &> /dev/null; then
3835
echo "UV already installed, skipping..."
@@ -44,6 +41,9 @@ else
4441
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
4542
fi
4643

44+
echo "Installing Python 3.12 via UV..."
45+
uv python install 3.12
46+
4747
echo "Cloning repository..."
4848
cd ~
4949
if [ -d "ftw-inference-api" ]; then

0 commit comments

Comments
 (0)