Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
db
 
 
doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Gift Manager

Manage gifts at libraries.

Installation

You must create config/gift_manager.yml. An example is provided with the application.

Since Devise sends emails for account recovery, you must setup default url options for your environments. E.g. config.action_mailer.default_url_options = { :host => 'localhost:3000' }

Otherwise, just your typical rake db:migrate db:test:preare and you're good to go.

Installation on Heroku

I am only rudimentarily familiar with Heroku, but it's an excellent way to quickly get your Rails apps running. Most libraries should strongly consider this option.

  1. git clone git@github.com:bricestacey/gift_manager.git
  2. cd gift_manager
  3. git mv config/gift_manager.yml.example config/gift_manager.yml and edit as appropriate.
  4. heroku create app_name
  5. git push heroku master
  6. heroku rake db:migrate
  7. GM should then be good to go at http://app_name.heroku.com

Requirements

Ruby 1.9. The breadcrumbs helper assumes an ordered hash.

Tests

There is a fairly comprehensive test suite. You can run the cucumber tests using cucumber or rspec rspec spec/. If you are having trouble getting them running try running them via bundler, e.g. bundle exec cucumber.

Demo

You can prepopulate Gift Manager with some seed data by running rake db:seed.

There is also a live demo at http://gift-manager.heroku.com. You can sign in with email: admin@example.com, password: secret.

Author

Brice Stacey

About

Gift Manager for Libraries

Resources

Releases

No releases published
You can’t perform that action at this time.