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
gem.config "flexi_generators", :version => '0.1.0'h2. Quickstart Rails 2 These 4 simple steps are the essentials to get you smoothly up and running… 1. Create your app and configure all dependencies @rails appname -m http://github.com/leandroo/flexi_generators/raw/v0.1.0/flexi_template.rb@ 2. Run @rake gems:install@ and @rake db:migrate@ to create your database and installs all required gems 3. Start your server with @ruby script/server@ 4. Open up "http://localhost:3000":http://localhost:3000 Rails3
gem "flexi_generators", '>=0.2.0'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.0/flexi_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
rails g flexi_prepare ... rails g flexi_auth ... rails g flexi_scaffold Post title:string body:texth2. Screenshots !http://img687.imageshack.us/img687/3579/homemk.png(Home layout)! !http://img441.imageshack.us/img441/5562/autenticacao.png(Login layout)! !http://img337.imageshack.us/img337/5549/adminkf.png(Admin layout)! !http://img155.imageshack.us/img155/6107/newb.png(Scaffold New)! !http://img219.imageshack.us/img219/2945/listc.png(Scaffold List)! h2. TODO * Support 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