Skip to content

Repository files navigation

ReadABooker

A website that encourages people to read novels that were shortlisted for the Booker Prize.

To build, install Perl and cpanminus (cpanm), then run from the repository root:

cpanm --installdeps .
perl bin/build

The build is verified on Perl 5.42.3. The application declares a Perl 5.20 language minimum; older interpreters have not been tested, and resolved CPAN dependencies may require a newer version. Installing dependencies from source also requires a C compiler and make for modules such as the SQLite driver. The cpanfile declares build dependencies; optional data-maintenance tools have separate requirements described in the codebase guide.

The build reads the supplied booker.db, renders the templates, and copies static/ into docs/. Edit CSS, images, and hosting files in static/; docs/ is generated output and can be recreated from scratch. To preview with Python 3:

python3 -m http.server 8000 --directory docs

Visit http://localhost:8000/.

Run the regression tests with prove -v t. They cover static-asset builds and winner/shortlist carousel selection and rendering, using temporary output and test databases so the catalogue and published output remain unchanged.

See How ReadABooker works for the architecture, database model, build instructions, templates, and data-maintenance tools.

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages