Skip to content
An easier way to keep track of your office bookshelf.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
doc
lib
log
public
script
test
.gitignore
.ruby-version
.travis.yml
Gemfile
Gemfile.lock
LICENCE.txt
Procfile
README.md
Rakefile
app.json
config.ru

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.