From d81559ba2e30b9ebcc128a53dca8286577f3dd71 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Tue, 9 Nov 2021 22:41:24 +0000 Subject: [PATCH] Update installation.md --- docs/devs/installation.md | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/docs/devs/installation.md b/docs/devs/installation.md index 7a8dfd6fc..7d2e7da5b 100644 --- a/docs/devs/installation.md +++ b/docs/devs/installation.md @@ -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.