Slide 1

Slide 1 text

No content

Slide 2

Slide 2 text

What we need?  A Heroku user account  Basic Ruby/Rails knowledge, including an installed version of Ruby 1.9.2, Rubygems, Bundler, and Rails 3.  Basic Git knowledge [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] Accounts email and heroku password railsgirls

Slide 3

Slide 3 text

Preparing the app change in Gemfile.rb to bundle install --without production gem ‘sqlite3’ group :development do gem ‘sqlite3’ end group :production do gem ‘pg’ end

Slide 4

Slide 4 text

Preparing the app gem install heroku config.assets.initialize_on_precompile = false add to application.rb git init git add . git commit –m “initial commit” add project to git

Slide 5

Slide 5 text

Deploying create new app push the code migrate database run the app or just http://app-name.herokuapp.com/ heroku create app-name git push heroku master heroku run rake db:migrate heroku run rake db:seed heroku open heroku keys:add c:\sites\.ssh\id_rsa.pub add ssh-key: login: heroku login