git clone https://github.com/ryee926/rails-project-builder
cd rails-project-builder
ruby build.rb
- Enter project name
- Enter table name
- Configure migration file
rails db:migrate
rails server
- Create new controller
- Create corresponding views folder
- Create index.html.erb inside folder
- open
routes.rb
within the 'config' folder - add
root 'examples#index'
- add 'resources :examples'
Rails.application.routes.draw do
root 'examples#index'
resources :examples
end
- adds necessary gems to Gemfile
- bootstrap integration
- creates spec folder with rails_helper & spec_helper
- adds should matcher configuration to rails_helper
- creates migration file
- configures migration file based on the columns requested
- generates basic model/controller/view
- v. 1.0.0