https://github.com/netmarkjp/ror3.2_example
https://github.com/netmarkjp/ror3.2_example
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/netmarkjp/ror3.2_example
- Owner: netmarkjp
- Archived: true
- Created: 2012-03-08T16:29:14.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2012-03-08T16:32:27.000Z (over 14 years ago)
- Last Synced: 2025-06-22T16:06:29.405Z (12 months ago)
- Language: Ruby
- Homepage:
- Size: 125 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Startup Instruction
------------------------------
.. code:: bash
# preflight settings for Mac
#
# install rbenv ruby-build with brew
# preflight settings
#
# notice: confirm `which rails` point to ~/.rbenv/versions//bin/gem
# if not, execute `export PATH=~/.rbenv/versions//bin:$PATH`
gem install rails
# ror startup
rails new ror3.2_example
cd ror3.2_example
rails server
# generate model
rails generate scaffold post author:string body:text
rake db:migrate
# ready to access http://localhost:3000/posts
Apply Twitter Bootstrap
------------------------------
.. code:: bash
# edit Gemfile
# add to line 21,
# gem 'twitter-bootstrap-rails', :git => 'http://github.com/seyhunak/twitter-bootstrap-rails.git'
bundle install
rails generate bootstrap:install
vim: set filetype=rst :