diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 2ad0962f..97fa1438 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -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 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 - +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 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