Multiple helper commands are available to help you manage your library. For simplicity, only the command is listed here, you will need to prefix it depending on your installation:
With a standard docker compose environment: docker-compose exec php bin/console <command>
With ddev: ddev exec bin/console <command>
Create an admin user.
Check the integrity of all books.
Tries to extract the cover from the book and saves it in the public/covers
folder.
Relocate all books to their calculated folder. This is necessary only if you want Biblioteca to manage your library structure.
Will scan the public/books
folder and add all books to the database. If a book already exists, it will be skipped.
First you will need to setup an openAi chatgpt key in a user's properties and run the command as this user
Then you can run the command to generate tag for all books in the library:
bin/console books:tag <user_id>
Clears the cache
Executes all missing database migrations.
Creates a sql backup of the database in the backups folder
.
Will re-create the search engine index.
Will re-import all books from the database to the search engine.