Skip to content
An easier way to keep track of your office bookshelf.
Branch: master
Clone or download
Latest commit ec9916a Apr 10, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
doc
lib Add JSON api to lookup metadata for a book by the ISBN number Dec 18, 2012
log Initial commit of library app. Nov 19, 2012
public
script Initial commit of library app. Nov 19, 2012
test Update to Rails 4.2.6 Apr 10, 2016
.gitignore
.ruby-version Use Ruby 2.3.0 Apr 10, 2016
.travis.yml
Gemfile Switch from Unicorn to Puma Apr 10, 2016
Gemfile.lock
LICENCE.txt
Procfile Switch from Unicorn to Puma Apr 10, 2016
README.md Make it easier to authenticate in dev environment Jan 20, 2014
Rakefile
app.json Add app.json Apr 10, 2016
config.ru Initial commit of library app. Nov 19, 2012

README.md

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.

You can’t perform that action at this time.