kickstart
by Evan Short

== DESCRIPTION:

This project aims to take out some of the overhead of creating a
rails project, primarily by attacking initial design of a project,
plugin usage, and subversion preparation.

== FEATURES/PROBLEMS:

=features
* Prepare a project with the plugins you use most
* Create rspec models and resources with a new DSL
* define relationships
* setup plugins within models
* Starter maintenence on repo (removing logs, ignoring database.yml, etc) is already done

=problems
* does not yet set up databases
* cannot run the svn import script by itself

== SYNOPSIS:

first create a file project_name.rails

use_plugin :file_column

Repository.define "http://svn.whatever.com/project", {
:comment => 'adding for the first time',
:user => 'who'
}

resource(:post){ |post|
post.attrs :title => 'string', :body => 'text', :added_on => 'date'
post.has_many :categories, :through => :categorization
}

resource(:categorization){ |cat|
cat.belongs_to :post
cat.belongs_to :category
}

resource(:category){ |cat|
cat.attrs :name => 'string'
cat.has_many :posts, :through => :categorization
}

then run <tt>kickstart project_name.rails</tt>. Your resources will be created with the appropriate
migrations (belongs_to adds a key). once the script is finished you will need to edit database.yml
and migrate. your project and its repository are ready.

== REQUIREMENTS:

* Rails
* Rspec

== INSTALL:

* sudo gem install kickstart

== LICENSE:

(The MIT License)

Copyright (c) 2007 FIX

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.