mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-10 12:32:34 +02:00
Put venv server un direction back
This commit is contained in:
@@ -68,6 +68,14 @@ mkdir data && cp .env.example .env
|
|||||||
./venv/bin/python build.py
|
./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
|
## Option 4: Docker
|
||||||
|
|
||||||
```sh
|
```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
|
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
|
### Troubleshooting
|
||||||
|
|
||||||
Problems installing? These commands have helped us install LNbits.
|
Problems installing? These commands have helped us install LNbits.
|
||||||
|
Reference in New Issue
Block a user