Hello World from OSS Silicon Valley
HowToUse/RubyOnRails/4.2/Bootstrap/3.2
_ Prerequisite
- Ruby on Rails installation (You can refer Overall/RubyOnRails)
_ Install&Setup
- Step.1
- Edit Gemfile.
$ vi Gemfile
gem 'less-rails' gem 'twitter-bootstrap-rails
- Step.2
- Install gem file.
$ bundle install
_ HowToUse
- Step.1
- Add object for bootstrap to the project.
$ rails g bootstrap:install
Then you can see new files in the project directory.
- Step.2
- Add files for form for model.
$ rails g bootstrap:themed <Model Name>
Then your form will be updated automatically.
_ Author
S.Yatsuzuka
Last-modified: 2016-05-25 (Wed) 18:11:04 (3194d)