From 06f045e90bb57c36738e58ee6830e2a2391bc6a3 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 16 Sep 2023 18:28:16 +0200 Subject: Migrate CLI to python --- README.md | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 9c530de..d9ec3fd 100644 --- a/README.md +++ b/README.md @@ -25,18 +25,12 @@ read = "Read" Each `metadata.toml` file correspond to a book, and there **must** be a cover named `cover.ext` in the same directory. Any extension works. -## Show library - -View the book library by running: - - ./bin/view browser-cmd path-to-books - ## Dev server -Enter nix shell: +In nix shell (`nix develop`), run: - nix develop + ./bin/dev-server path-to-books -Then run the dev-server: +## Show library - ./bin/dev-server path-to-books + BOOK_LIBRARY=path-to-books python src/main.py library -- cgit v1.2.3