Gift Manager for Libraries
Ruby JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
features
lib/tasks
public
script
spec
vendor/plugins
.gitignore
.rspec
Capfile
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

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