From 870a61abe92b81d9c69b82e7b09a856725a42fbf Mon Sep 17 00:00:00 2001 From: Fitti Date: Sun, 20 Jun 2021 06:30:32 +0200 Subject: [PATCH] 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` --- docs/devs/installation.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/devs/installation.md b/docs/devs/installation.md index 55636181..013f7be9 100644 --- a/docs/devs/installation.md +++ b/docs/devs/installation.md @@ -40,6 +40,13 @@ Take a look at [Polar][polar] for an excellent way of spinning up a Lightning Ne ## Running the 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 $ pipenv run python -m lnbits