Update installation.md
This commit is contained in:
parent
46838ca66f
commit
1940b8762b
1 changed files with 5 additions and 10 deletions
|
|
@ -20,16 +20,6 @@ pipenv install --dev
|
|||
# If any of the modules fails to install, try checking and upgrading your setupTool module
|
||||
# pip install -U setuptools
|
||||
```
|
||||
|
||||
You will need to copy `.env.example` to `.env`, then set variables there.
|
||||
|
||||

|
||||
|
||||
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`.
|
||||
|
||||
Take a look at [Polar][polar] for an excellent way of spinning up a Lightning Network dev environment.
|
||||
|
||||
## Running the server
|
||||
|
||||
LNbits uses [FastAPI][fastapi] as an application server.
|
||||
|
|
@ -43,4 +33,9 @@ To then run the server, use:
|
|||
|
||||
pipenv run python -m uvicorn lnbits.__main__:app --reload
|
||||
|
||||
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`.
|
||||
|
||||
Take a look at [Polar][polar] for an excellent way of spinning up a Lightning Network dev environment.
|
||||
|
||||
**Note**: We reccomend using <a href="https://caddyserver.com/docs/install#debian-ubuntu-raspbian">Caddy</a> for a reverse-proxy, if you want to serve your install through a domain, alternatively you can use [ngrok](https://ngrok.com/).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue