From c075b28a9623b61023e68dacf4ce2a3ecea92dd9 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Sun, 31 Jul 2022 10:22:29 +0100 Subject: [PATCH] Put venv server un direction back --- docs/guide/installation.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/guide/installation.md b/docs/guide/installation.md index 42bda382e..d41eee4eb 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -68,6 +68,14 @@ mkdir data && cp .env.example .env ./venv/bin/python build.py ``` +#### Running the server + +```sh +./venv/bin/uvicorn lnbits.__main__:app --port 5000 +``` + +If you want to host LNbits on the internet, run with the option `--host 0.0.0.0`. + ## Option 4: Docker ```sh @@ -79,14 +87,6 @@ mkdir data docker run --detach --publish 5000:5000 --name lnbits-legend --volume ${PWD}/.env:/app/.env --volume ${PWD}/data/:/app/data lnbits-legend ``` -#### Running the server - -```sh -./venv/bin/uvicorn lnbits.__main__:app --port 5000 -``` - -If you want to host LNbits on the internet, run with the option `--host 0.0.0.0`. - ### Troubleshooting Problems installing? These commands have helped us install LNbits.