Skip to content

xiaotian/rails32_boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rails 3.2 app boilerplate

dependencies

  • rvm
# make sure iconv/readline is installed with rvm

$> rvm pkg install iconv

$> rvm pkg install readline

$> rvm install 1.9.3-p0 --with-iconv-dir=$rvm_path/user

gems included

  1. guard
  2. spork
  3. rspec
  4. capybara
  5. factory_girl
  6. annotate (integrated into rake db:migrate)

installation

  • clone project and re-init git
$> git clone [email protected]:xiaotian/rails32_boilerplate.git

$> cd rails32_boilerplate

$> rm -rf .git

$> git init
  • rename project
$> find ./ -type f -exec sed -i '' 's/Rails32Boilerplate/SampleApp/g' {} \;

$> find ./ -type f -exec sed -i '' 's/rails32_boilerplate/sample_app/g' {} \;
  • generate new secret token config/initializer/secret_token.rb (you can generate a dummy project and copy from it)

  • remove FooBar scaffold

$> rails destroy scaffold FooBar

About

boilerplate for rails 3.2 apps, including rspec, guard, spork

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published