Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

a simple Rails-based user authentication app that's built on top of Devise

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 script
Octocat-spinner-32 test
Octocat-spinner-32 vendor
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .rvmrc
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
README.md

Hammr

About

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.

Demo

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.

Kudos / Confessions

Installation

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   

Contribute

  • Fork
  • Pull

Questions / Problems?

Please create an issue @ https://github.com/leereilly/hammr/issues.

Bugs / Known 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.

Bugs

Something went wrong with that request. Please try again.