|
|
@ -20,3 +20,12 @@ GETs all the books in the database
|
|
|
|
|
|
|
|
|
|
|
|
/api/book/id
|
|
|
|
/api/book/id
|
|
|
|
GETs a specific book by its id
|
|
|
|
GETs a specific book by its id
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>For those on mac and using homebrew, it seems like Wand doesn't support imagemagick 7 yet as mentioned in other answers.
|
|
|
|
|
|
|
|
>There's a new brew formula for Imagemagick 6 which can be used to install the older version in the meanwhile:
|
|
|
|
|
|
|
|
>brew install imagemagick@6
|
|
|
|
|
|
|
|
>Create a symlink to this newly installed dylib file as mentioned in other answer to get things working.
|
|
|
|
|
|
|
|
>ln -s /usr/local/Cellar/imagemagick@6/<your specific 6 version>/lib/libMagickWand-6.Q16.dylib /usr/local/lib/libMagickWand.dylib
|