Hammr is a simple Rails-based user authentication app that's built on top of Devise. It's an exercise is familiarizing myself with Devise; nothing more.
There's a demo setup @ http://hammr.heroku.com. Heroku doesn't offer a free outgoing mail service, so until I fix that you can't past the signup stage. Clone it and serve it locally with no problems.
- I ripped off Yammer's logo - COME AT ME YAMMER ATTORNEYS!
- I ripped off some of Heroku's CSS for forms (I'll remove that soon)
- GitHub buttons CSS
- Devise
- Machinist
- Faker
Download the branch master via https://github.com/leereilly/hammr
git clone git@github.com:leereilly/hammr.git
Install the required gems
bundle install
Create a file config/database.yml e.g.
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
Run the test suite to make sure everything's working
rake test
Start the server (defaults to development
environment on port 3000
)
rails server
- Fork
- Pull
Please create an issue @ https://github.com/leereilly/hammr/issues.
- DO NOT USE IN PRODUCTION!
- Functional tests aren't there yet; unit tests are there with machinist/faker. Setting up and configuring Devise with Rails 3 was a learning experience.
- Factory Girl and Faker test data planned.