Skip to content
the openlibrary project
Branch: master
Clone or download
Pull request Compare This branch is 57 commits ahead, 6 commits behind shyam:master.
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.
config
data
docs
lib
models
public
scripts
spec
views
.gitignore
.rspec
.ruby-gemset
.ruby-version
Capfile
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
create_barcode.sh
database.rb
openlibrary.rb

README.md

openlibrary

This is a Sinatra based app to track library books.

Setup Instructions : After the repo has been cloned and gems installed (bundle install), here are the steps :

  1. Create a mysql database named openlibrary_dev
  2. For creating tables in db : rake db:migrate
  3. Import data for users and books from the CSVs using following : MODEL=Book ruby scripts/load_csv.rb data/books.csv MODEL=User ruby scripts/load_csv.rb data/users.csv
  4. To run the app use shotgun
  5. The app can be accessed at localhost:9393
You can’t perform that action at this time.