aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2024-07-09 15:11:26 -0400
committerB. Stack <bgstack15@gmail.com>2024-07-09 15:11:26 -0400
commit516263ea51350514571deafc70b14f9f19d760d8 (patch)
tree9da665d2e3eee383335c5f2ecc82dd649824ed66 /README.md
downloadlibrary-info-516263ea51350514571deafc70b14f9f19d760d8.tar.gz
library-info-516263ea51350514571deafc70b14f9f19d760d8.tar.bz2
library-info-516263ea51350514571deafc70b14f9f19d760d8.zip
initial commit
Diffstat (limited to 'README.md')
-rw-r--r--README.md48
1 files changed, 48 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..22a2b1e
--- /dev/null
+++ b/README.md
@@ -0,0 +1,48 @@
+<!--
+.. File: README.md
+.. Author: bgstack15
+.. SPDX-License-Identifier: GPL-3.0-only
+.. Startdate: 2024-07-06-7 07:51
+.. Title: README for library_info project
+.. Project: library_info
+.. Purpose: Document the project
+.. History:
+.. Usage: Read it.
+.. Reference: See heading References
+.. Improve:
+.. Dependencies:
+-->
+
+# README for `library_info` project
+
+# Usage
+Because this does not need to be a complex flask web app, it is designed as a cli tool. Run it in cron no more often than once a day.
+
+ ./library_info_cli.py --output html > /var/www/html/library.html
+
+## Serving with DataTables
+To take advantage of [DataTables JS library](https://datatables.net/), you need to serve files in this directory layout:
+
+ .
+ * library.html
+ | -- DataTables
+ |-- datatables.min.css
+ `-- datatables.min.js
+
+# Design notes
+Columns for items checked out:
+* title
+* format
+* picture
+* barcode
+* due date
+* possible renewal date
+* how many times renewed already
+* when checked out
+
+plugin-based, so I can write a plugins/aspen.py with some standard format output.
+
+# Improvements
+I still need to implement these features.
+
+* add reservations for each library
bgstack15