Guillaume Dott eef60a8420 | ||
---|---|---|
db/migrations | ||
lib | ||
.gitignore | ||
Gemfile | ||
LICENSE.txt | ||
README.md | ||
Rakefile | ||
librarix.gemspec |
README.md
Librarix
Manage all your collections in your browser and automatically fetch infos from TheMovieDB
Installation
Librarix is a simple Sinatra app that can be used as a standalone app or mounted in another app.
Standalone
Create a Gemfile and add this line:
gem 'librarix'
And then execute:
$ bundle
Finally, you need a config.ru
file to launch the Rack application:
require 'librarix'
Tmdb::Api.key('THE_MOVIE_DB_API_KEY')
Librarix.redis = Redis.new # use the correct host, port and db number for your redis database
run Librarix::Application