An open API service indexing awesome lists of open source software.

https://github.com/netmarkjp/ror3.2_example


https://github.com/netmarkjp/ror3.2_example

Last synced: 12 months ago
JSON representation

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 :