python -m lnbits

This commit is contained in:
fiatjaf
2020-09-04 21:33:30 -03:00
committed by fiatjaf
parent b8de30423f
commit ffa3c3f6a6
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ Running the server
LNbits uses [Flask][flask] as an application server.
```sh
$ pipenv run python main.py
$ pipenv run python -m lnbits
```
There is an environment variable called `FLASK_ENV` that has to be set to `development`
+1 -1
View File
@@ -22,7 +22,7 @@ You will need to set the variables in `.env.example`, and rename the file to `.e
Run the server:
```sh
(.venv) $ python main.py
(.venv) $ python -m lnbits
```
You might also need to install additional packages, depending on the [backend wallet](./wallets.md) you use.
View File