update dev environment

This commit is contained in:
Riccardo Balbo 2025-02-17 15:42:38 +00:00
commit 0559a1b8dc
2 changed files with 5 additions and 8 deletions

View file

@ -3,8 +3,7 @@ echo $PYTHONPATH
CONTAINER_WORKSPACE_FOLDER=$1
cd $CONTAINER_WORKSPACE_FOLDER
sudo apt update -y
sudo apt install -y python3.9-distutils curl
sudo apt-get install -y docker.io
sudo apt install -y curl
curl -fsSL https://deb.nodesource.com/setup_20.x -o /tmp/nodesource_setup.sh
sudo bash /tmp/nodesource_setup.sh
@ -17,8 +16,8 @@ if [ ! -d ./lnbits ] ; then
fi
cd lnbits
echo $PWD
git checkout 0.12.8
poetry env use python3.9
git checkout v1.0.0-rc7
poetry env use 3.12
POETRY_PYTHON_PATH=$(poetry env info -p)/bin/python
ln -sf $POETRY_PYTHON_PATH /home/vscode/python
make bundle