Skip to content

JordanHatch/anthology

Repository files navigation

Anthology Build Status

An easier way to keep track of the books on your office bookshelf.

  • Uses GitHub authentication for your organisation
  • Keeps track of multiple copies of each book
  • Looks up book details from Google Books and Openlibrary based on the ISBN

Getting started

bundle install
bundle exec unicorn -p 5000

If you're in the development or test environments, OmniAuth's developer strategy is available, and selected by default. This allows you to authenticate without using GitHub by providing details for a stub user. If configuration for GitHub is present, Anthology will default to using authentication with GitHub instead.

Configuration

The app is configured with a collection of environment variables:

  • LIBRARY_TITLE - name of the library, displayed throughout the app
  • GITHUB_CLIENT_ID
  • GITHUB_CLIENT_SECRET
  • GITHUB_ORG - organisation username to restrict access
  • REQUEST_IP - IP address to provide as the requester in calls to the Google Books API (required for Heroku)
  • RAILS_SECRET_TOKEN

If you're using Airbrake or Errbit, you can set the following environment variables:

  • AIRBRAKE_API_KEY
  • AIRBRAKE_HOST

Licence

Anthology is released under the MIT Licence.

About

An easier way to keep track of your office bookshelf.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published