Update installation.md

This commit is contained in:
Arc 2022-01-14 10:16:50 +00:00 committed by GitHub
parent 1940b8762b
commit ab62014bf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,9 +29,13 @@ Before running the server for the first time, make sure to create the data folde
cp .env.example .env
sudo nano .env
To then run the server, use:
To then run the server for development purposes (include hot-reload), use:
pipenv run python -m uvicorn lnbits.__main__:app --reload
For production, use:
pipenv run python -m uvicorn lnbits.__main__:app
You might also need to install additional packages, depending on the [backend wallet](../guide/wallets.md) you use.
E.g. when you want to use LND you have to `pipenv run pip install lndgrpc` and `pipenv run pip install purerpc`.