mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-03 17:37:06 +01:00
Add missing instruction to dev installation guide
The missing data folder will throw an exception: `sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file`
This commit is contained in:
parent
8472efb1b5
commit
870a61abe9
1 changed files with 7 additions and 0 deletions
|
@ -40,6 +40,13 @@ Take a look at [Polar][polar] for an excellent way of spinning up a Lightning Ne
|
||||||
## Running the server
|
## Running the server
|
||||||
|
|
||||||
LNbits uses [Quart][quart] as an application server.
|
LNbits uses [Quart][quart] as an application server.
|
||||||
|
Before running the server for the first time, make sure to create the data folder:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ mkdir data
|
||||||
|
```
|
||||||
|
|
||||||
|
To then run the server, use:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ pipenv run python -m lnbits
|
$ pipenv run python -m lnbits
|
||||||
|
|
Loading…
Add table
Reference in a new issue