Update installation.md
This commit is contained in:
parent
88ef3a38fc
commit
3b6c2b0103
|
@ -18,13 +18,20 @@ By default, LNbits will use SQLite as its database. You can also use PostgreSQL
|
||||||
git clone https://github.com/lnbits/lnbits-legend.git
|
git clone https://github.com/lnbits/lnbits-legend.git
|
||||||
cd lnbits-legend/
|
cd lnbits-legend/
|
||||||
|
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install software-properties-common
|
||||||
|
sudo add-apt-repository ppa:deadsnakes/ppa
|
||||||
|
sudo apt install python3.9
|
||||||
|
|
||||||
curl -sSL https://install.python-poetry.org | python3 -
|
curl -sSL https://install.python-poetry.org | python3 -
|
||||||
|
export PATH="/home/ubuntu/.local/bin:$PATH" # or whatever is suggested in the poetry install notes printed to terminal
|
||||||
poetry env use python3.9
|
poetry env use python3.9
|
||||||
poetry install
|
poetry install
|
||||||
|
|
||||||
# You may need to install python 3.9, update your python following this guide https://linuxize.com/post/how-to-install-python-3-9-on-ubuntu-20-04/
|
mkdir data
|
||||||
|
cp .env.example .env # 'sudo nano .env' and set funding source
|
||||||
|
|
||||||
|
|
||||||
mkdir data && cp .env.example .env
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Running the server
|
#### Running the server
|
||||||
|
|
Loading…
Reference in New Issue
Block a user