Update installation.md
This commit is contained in:
parent
1940b8762b
commit
ab62014bf0
1 changed files with 5 additions and 1 deletions
|
|
@ -29,10 +29,14 @@ Before running the server for the first time, make sure to create the data folde
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
sudo nano .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
|
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.
|
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`.
|
E.g. when you want to use LND you have to `pipenv run pip install lndgrpc` and `pipenv run pip install purerpc`.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue