Update installation.md

This commit is contained in:
Arc 2021-11-09 22:41:24 +00:00 committed by GitHub
parent 3b8920b436
commit d81559ba2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,9 +25,7 @@ If any of the modules fails to install, try checking and upgrading your setupToo
If you wish to use a version of Python higher than 3.7:
```sh
$ pipenv --python 3.8 install --dev
```
pipenv --python 3.8 install --dev
You will need to copy `.env.example` to `.env`, then set variables there.
@ -43,21 +41,15 @@ Take a look at [Polar][polar] for an excellent way of spinning up a Lightning Ne
LNbits uses [Quart][quart] as an application server.
Before running the server for the first time, make sure to create the data folder:
```sh
$ mkdir data
```
mkdir data
To then run the server, use:
```sh
$ pipenv run python -m lnbits
```
pipenv run python -m lnbits
**Note**: You'll need to use _https_ for some endpoints and/or extensions. You can use [ngrok](https://ngrok.com/) for that. Follow the installation instructions on the website and when it's all set you can run:
```sh
$ ./nrok http 5000
```
./nrok http 5000
this will give you an _https_ tunnel for the _localhost_, use that URL for navigating to LNBits.