mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-18 05:41:54 +01:00
Update installation.md
This commit is contained in:
parent
3b8920b436
commit
d81559ba2e
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user