Browse Source

python -m lnbits

aiosqlite
fiatjaf 4 years ago
committed by fiatjaf
parent
commit
ffa3c3f6a6
  1. 2
      docs/devs/installation.md
  2. 2
      docs/guide/installation.md
  3. 0
      lnbits/__main__.py

2
docs/devs/installation.md

@ -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`

2
docs/guide/installation.md

@ -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.

0
main.py → lnbits/__main__.py

Loading…
Cancel
Save