tests
This commit is contained in:
parent
1427fad9d5
commit
7fbaf437d6
11 changed files with 1335 additions and 5 deletions
|
|
@ -24,7 +24,7 @@
|
|||
"customizations": {
|
||||
"vscode": {
|
||||
"settings": {
|
||||
"python.pythonPath": "/opt/python/bin/python3.9"
|
||||
// "python.pythonPath": "/opt/python/bin/python3.9"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
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
|
||||
|
|
@ -8,14 +9,13 @@ curl -fsSL https://deb.nodesource.com/setup_20.x -o /tmp/nodesource_setup.sh
|
|||
sudo bash /tmp/nodesource_setup.sh
|
||||
sudo apt-get install -y nodejs
|
||||
if [ ! -d lnbits ] ; then
|
||||
sudo git clone https://github.com/lnbits/lnbits.git;
|
||||
git clone https://github.com/lnbits/lnbits.git;
|
||||
fi
|
||||
sudo chown 1000:1000 -Rvf lnbits
|
||||
cd lnbits
|
||||
git checkout 0.12.8
|
||||
poetry env use python3.9
|
||||
VENV_PATH=$(poetry env info -p)
|
||||
sudo ln -s $VENV_PATH /opt/python
|
||||
# export VENV_PATH=$(poetry env info -p)
|
||||
# sudo ln -s $VENV_PATH /opt/python
|
||||
make bundle
|
||||
poetry install --no-interaction
|
||||
mkdir -p lnbits/extensions/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue