Sha256: 0bf54c3e54660297b11f8ac6576104649c4d5301d4212c99461d3b4f73bfa467

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 KB

Contents

h1. Flexi Generators

My Rails generator scripts. Generates controllers, views, layouts and stylesheets with:

* Login layout
* App layout
* Menus with Menu Builder plugin 
* Pagination with Will Paginate plugin

h2. Instalation

Rail2

For more details about configuration in Rails 2 look "here":http://github.com/leandroo/flexi_generators/tree/v0.1.0

Rails3

<pre>  
gem "flexi_generators", '0.2.1'
</pre>

h2. Included Generators

* flexi_prepare: generates initial files anda configurations.
* flexi_auth: generates user model with sign up and log in.
* flexi_scaffold: generates custom scaffold.

h2. Quickstart Rails 3

These 4 simple steps are the essentials to get you smoothly up and running…

1. Create your app and configure all dependencies 
@rails new appname -m http://github.com/leandroo/flexi_generators/raw/v0.2.1/template.rb@
2. Run @bundle install@, @rake db:migrate@ and @rake db:seed@ to installs all required gems and create your database
3. Start your server with @rails server@
4. Open up "http://localhost:3000":http://localhost:3000

h2. Usage

<pre>
rails g flexi_prepare
...
rails g flexi_auth
...
rails g flexi_scaffold Post title:string body:text
</pre>

h2. Screenshots

!http://img697.imageshack.us/img697/1245/flexigenerators.jpg(Flexi)!

h2. TODO

* i18n
* Tests, tests, tests

h2. Autor

*Leandro de Oliveira*

Blog: "http://leandroo.com.br":http://leandroo.com.br
Github: "http://github.com/leandroo":http://github.com/leandroo

Copyright (c) 2009 Leandro de Oliveira, released under the MIT license

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flexi_generators-0.2.2 README.textile
flexi_generators-0.2.1 README.textile