Skip to content

ajurna/cbwebreader

Repository files navigation

CBWebReader

CBWebReader is web-based CBR and CBZ file reader implemented in Django. The application allows a user to host their collection of digital comics (CBR & CBZ formats) as a remotely accessible collect.

CBWebReader Screenshot

Core technologies

The following technologies will aid development by ensuring a consistent development environment for all developers:

The following frameworks and tool's are used within the application:

Getting started

The CBWebReader is a Django project and follows the standard conventions for a Django application. To get started, clone the project into your workspace:

git clone https://github.com/ajurna/cbwebreader

Configure the environment using the .env file or setting each variable within your environment:

cp .env.example .env

Alternatively, set the path to your COMIC_BOOK_VOLUME like so:

export COMIC_BOOK_VOLUME=some_path_to_comics_directory

Build and run the project using docker-compose:

docker-compose build
docker-compose up

Running Tests

To run the entire test suite for CBWebReader, execute the following command:

docker-compose run app pytest -vvv

Syncing comic books

Once the application has been configured and runs for the first time, an initial import of comics will be made available to browse and view. However, future additions will need to be synced before they will be available. A sync can be performed by running the following command:

docker-compose run app python manage.py scan_comics

It is recommended that you configure a scheduled task to run the sync as frequently as you wish to ensure your collection is up-to-date.

License

This is a human-readable summary of (and not a substitute for) the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License.