Varia library working group XPPL. https://gitea.xpub.nl/XPUB/XPPL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Alex a054177867 README 7 years ago
app requirements updated 7 years ago
.gitignore cleanup 7 years ago
README.md README 7 years ago
init.py prototype 0.0.1 7 years ago
init_db.sh prototype 0.0.1 7 years ago
requirements.txt requirements updated 7 years ago
run.py prototype 0.0.1 7 years ago

README.md

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 ;-)