From ab62014bf029b58a09af2d99a2b97a3d2e1da6d3 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Fri, 14 Jan 2022 10:16:50 +0000 Subject: [PATCH] Update installation.md --- docs/devs/installation.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/devs/installation.md b/docs/devs/installation.md index 694294f76..11f5704b4 100644 --- a/docs/devs/installation.md +++ b/docs/devs/installation.md @@ -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`.