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
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.
The app is configured with a collection of environment variables:
LIBRARY_TITLE
- name of the library, displayed throughout the appGITHUB_CLIENT_ID
GITHUB_CLIENT_SECRET
GITHUB_ORG
- organisation username to restrict accessREQUEST_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
Anthology is released under the MIT Licence.