diff --git a/docs/devs/installation.md b/docs/devs/installation.md index 2a22f7e7..c4aad25e 100644 --- a/docs/devs/installation.md +++ b/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` diff --git a/docs/guide/installation.md b/docs/guide/installation.md index bb517c20..174e1155 100644 --- a/docs/guide/installation.md +++ b/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. diff --git a/main.py b/lnbits/__main__.py similarity index 100% rename from main.py rename to lnbits/__main__.py