Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
a simple Rails-based user authentication app that's built on top of Devise
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db Added empty controller
doc
lib/tasks
public
script
test
vendor/plugins
.gitignore
.rvmrc
Gemfile
Gemfile.lock
README.md
Rakefile
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.