Varia library working group XPPL. https://gitea.xpub.nl/XPUB/XPPL
Go to file
2018-05-23 14:58:24 +02:00
app requirements updated 2018-05-23 14:42:52 +02:00
.gitignore cleanup 2018-05-23 14:18:38 +02:00
init_db.sh prototype 0.0.1 2018-05-20 00:10:01 +02:00
init.py prototype 0.0.1 2018-05-20 00:10:01 +02:00
README.md README 2018-05-23 14:58:24 +02:00
requirements.txt requirements updated 2018-05-23 14:42:52 +02:00
run.py prototype 0.0.1 2018-05-20 00:10:01 +02:00

XPUB Library

Library running on Flask and SQLight (maybe to be replaced with a python shelve)

requirements.txt $ pip3 install -r requirements.txt

initialise database $ bash init_db.sh

run script python3 run.py

API

has currently 2 entrypoints:

/api/books GETs all the books in the database

/api/book/id GETs a specific book by its id

Further installnotes (bugs)

  • For Macusers -> brew install imagemagick@6 in order to install wand

  • create the covers folder inside the uploadsfolder

  • don't forget to chmod the uploads and coverfolder ;-)