Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Commit

Permalink
Really fix README code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alsmola committed Sep 10, 2012
1 parent 80d3af3 commit a5310b9
Showing 1 changed file with 18 additions and 26 deletions.
44 changes: 18 additions & 26 deletions README.rdoc
Expand Up @@ -6,47 +6,39 @@ created long-lived sessions that can be tracked and revoked easily.
NoPassword is structured as a Rails Engine, which you can mount in your
routes file:

'''
mount Nopassword::Engine, :at => "/nopassword"
'''
mount Nopassword::Engine, :at => "/nopassword"

You'll need to install the migrations:

'''
rake nopassword:install:migrations
'''
rake nopassword:install:migrations

You can set up a signin form with the `send_login_email` route and a
request parameter named `email`.

If you don't already have email configuerd, create a config/email.yml with your mail server settings.

'''
defaults: &defaults
email_server_address: [YOUR MAIL SERVER]
email_port: [YOUR MAIL PORT]
email_domain: [YOUR MAIL DOMAIN]
email_username: [YOUR MAIL USERNAME]
defaults: &defaults
email_server_address: [YOUR MAIL SERVER]
email_port: [YOUR MAIL PORT]
email_domain: [YOUR MAIL DOMAIN]
email_username: [YOUR MAIL USERNAME]

development:
<<: *defaults
development:
<<: *defaults

test:
<<: *defaults
test:
<<: *defaults

production:
<<: *defaults
'''
production:
<<: *defaults

NoPassword uses the Passw3rd (https://github.com/oreoshake/passw3rd)
library to manage email credentials.

'''
mkdir config/passwords
cd config/passwords
passw3rd -g
passw3rd -e email_password
[Enter your email password]
'''
mkdir config/passwords
cd config/passwords
passw3rd -g
passw3rd -e email_password
[Enter your email password]

NoPassword uses the MIT-LICENSE.

0 comments on commit a5310b9

Please sign in to comment.