Skip to content

Instantly share code, notes, and snippets.

@alexpeattie
Created August 18, 2014 10:03
Show Gist options
  • Save alexpeattie/7b128fab3319a99eeced to your computer and use it in GitHub Desktop.
Save alexpeattie/7b128fab3319a99eeced to your computer and use it in GitHub Desktop.
rails new instagramjune -T -d postgresql
cd instagramjune/
bin/rake db:create
bin/rails g model post title:string
subl .
bundle
bin/rails g rspec:install
rspec
bin/rake db:migrate
rspec
rspec
bin/rails g controller posts
rspec
rspec
rspec
rspec
rspec
rspec
rspec
cd ..
cd instagram_may/
cp spec/images/old-man1.jpg ../instagramjune/spec/images/old-man1.jpg
cd ../instagramjune/
rspec
bundle
brew install imagemagick
bin/rails g paperclip post picture
bin/rake db:migrate
rspec
rspec
bin/rails s
bin/rails s
rspec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment