BookStore is a lightweight web application to display and share your calibre library. It is built with the Laravel Framework as backend and Tailwind for the interface.
Clone the repository
git clone https://gitlab.com/gerardbalaoro/bookstore.gitInstall composer dependencies
composer installSetup application environment (.env) file
cp .env.example .envSee: https://laravel.com/docs/5.8/configuration#environment-configuration
Build application assets (optional)
npm install && npm run prodThis application uses Laravel's Filesystem interface, as such, the library can be stored locally (using the LocalAdapter) or supported cloud services such as Amazon S3 or Dropbox. You can configure them by following the documentation.
Once the filesystem disks are setup, append the following values to your .env file.
CALIBRE_DISK={{ Filesystem disk }}
CALIBRE_PATH={{ Path to calibre library }}Laravel requires SQLite databases to be stored locally, thus, copy your calibre database file (metadata.db) to storage/app/calibre. Or if your filesystem is already setup, run the command below to download the database directly from your storage disk:
php artisan calibre:download-dbFollow the instructions on the Laravel Documentation.
- Gerard Balaoro
- Email: [email protected]
- GitHub: @GerardBalaoro
- GitLab: @gerardbalaoro
This work is licensed under the MIT License
