chore: update py version in lnbits.sh (#3215)

This commit is contained in:
dni ⚡ 2025-06-24 17:25:33 +02:00 committed by GitHub
parent 6d2f39d390
commit b1a09af82c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,15 +6,15 @@ if [ ! -d lnbits/data ]; then
# Update package list and install prerequisites non-interactively
sudo apt update -y
sudo apt install -y software-properties-common
# Add the deadsnakes PPA repository non-interactively
sudo add-apt-repository -y ppa:deadsnakes/ppa
# Install Python 3.9 and distutils non-interactively
sudo apt install -y python3.9 python3.9-distutils
# Install Python 3.10 and distutils non-interactively
sudo apt install -y python3.10 python3.10-distutils
# Install Poetry
curl -sSL https://install.python-poetry.org | python3.9 -
curl -sSL https://install.python-poetry.org | python3.10 -
# Add Poetry to PATH for the current session
export PATH="/home/$USER/.local/bin:$PATH"
@ -51,4 +51,4 @@ export LNBITS_ADMIN_UI=true
export HOST=0.0.0.0
# Run LNbits
poetry run lnbits
poetry run lnbits