Navigation Menu

Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuity committed Feb 22, 2010
1 parent c00e599 commit bbe4a92
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions README.markdown
Expand Up @@ -48,48 +48,48 @@ The source code is managed with Git (a version control system) and hosted at Git

You can download the app ("clone the repository") with the command

$ git clone git@github.com:fortuity/subdomain-authentication.git
$ git clone git@github.com:fortuity/subdomain-authentication.git

## Getting Started

### Configure Email

Configure email by modifying

config/initializers/devise.rb
config/initializers/devise.rb

and setting the return email address for emails sent from the application.

You may need to set values for your mailhost in

config/environments/development.rb
config/environments/production.rb
config/environments/development.rb
config/environments/production.rb

### Set Up the Database

You can use the default database settings if you're using SQLite.

If you're using MySQL, you'll need to edit the file

config/database.yml
config/database.yml

Set up the database by running

$ rake db:create
$ rake db:migrate
$ rake sdauth:setup
$ rake db:create
$ rake db:migrate
$ rake sdauth:setup

Running the "sdauth:setup" rake task sets up an initial administrator and user. You can modify the file

lib/tasks/setup.rake
lib/tasks/setup.rake

if you wish to change the administrator and user logins before you run the migration.

### Launch the Application

Start the server

$ script/server
$ script/server

and go to [http://localhost:3000/](http://localhost:3000/).

Expand Down

0 comments on commit bbe4a92

Please sign in to comment.