python -m lnbits

This commit is contained in:
fiatjaf 2020-09-04 17:13:10 -03:00 committed by fiatjaf
parent b8de30423f
commit ffa3c3f6a6
3 changed files with 2 additions and 2 deletions

View file

@ -45,7 +45,7 @@ Running the server
LNbits uses [Flask][flask] as an application server. LNbits uses [Flask][flask] as an application server.
```sh ```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` There is an environment variable called `FLASK_ENV` that has to be set to `development`

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: Run the server:
```sh ```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. You might also need to install additional packages, depending on the [backend wallet](./wallets.md) you use.