Manage gifts at libraries.
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.
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.
git clone git@github.com:bricestacey/gift_manager.git
cd gift_manager
git mv config/gift_manager.yml.example config/gift_manager.yml
and edit as appropriate.heroku create app_name
git push heroku master
heroku rake db:migrate
- GM should then be good to go at http://app_name.heroku.com
Ruby 1.9. The breadcrumbs helper assumes an ordered hash.
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
.
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
.