mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-24 15:52:35 +02:00
fix: bash failed using after install (#2685)
This commit is contained in:
parent
ceb43f384e
commit
d229b7a765
@ -70,7 +70,7 @@ chmod +x lnbits.sh &&
|
|||||||
|
|
||||||
Now visit `0.0.0.0:5000` to make a super-user account.
|
Now visit `0.0.0.0:5000` to make a super-user account.
|
||||||
|
|
||||||
`./lnbits.sh` can be used to run, but for more control `cd lnbits` and use `poetry run lnbits` (see previous option).
|
`export PATH="/home/$USER/.local/bin:$PATH"` then `./lnbits.sh` can be used to run, but for more control `cd lnbits` and use `poetry run lnbits` (see previous option).
|
||||||
|
|
||||||
## Option 3: Nix
|
## Option 3: Nix
|
||||||
|
|
||||||
|
@ -42,6 +42,9 @@ elif [ ! -d lnbits/wallets ]; then
|
|||||||
cd lnbits || { echo "Failed to cd into lnbits ... FAIL"; exit 1; }
|
cd lnbits || { echo "Failed to cd into lnbits ... FAIL"; exit 1; }
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Set path for running after install
|
||||||
|
export PATH="/home/$USER/.local/bin:$PATH"
|
||||||
|
|
||||||
# Install the dependencies using Poetry
|
# Install the dependencies using Poetry
|
||||||
poetry env use python3.9
|
poetry env use python3.9
|
||||||
poetry install --only main
|
poetry install --only main
|
||||||
|
Loading…
x
Reference in New Issue
Block a user