deploy to heroku

deploy to heroku

454d362347e90bcf5e6a98de1fc25a0b?s=128

RailsGirls Ukraine

October 06, 2012
Tweet

Transcript

  1. None
  2. 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 harrdruby@gmail.com crazy.ruby.girl@gmail.com rubymix@rambler.ru railschicks@rambler.ru rails-masyani@rambler.ru brilliant-mind@rambler.ru Accounts email and heroku password railsgirls
  3. 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
  4. 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
  5. 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