Upgrade to Pro — share decks privately, control downloads, hide ads and more …

RailsClub 2016

RailsClub 2016

Kir Shatrov

October 22, 2016
Tweet

More Decks by Kir Shatrov

Other Decks in Programming

Transcript

  1. git clone … brew install postgres brew install redis bundle

    install rake db:create где-то тут ломается nokogiri
  2. VM creation is slow VM has to be updated every

    week from Chef Development in VM is slower VM file system has limitations for frontend stuff
  3. The xhyve hypervisor is a port of bhyve to OS

    X. It is built on top of Hypervisor.framework in OS X 10.10 Yosemite and higher, runs entirely in userspace, and has no other dependencies.
  4. 1. Make your application boot (fix gem conflicts) 2. Setup

    two Gemfiles and two CI statuses 3. Fix failings tests 4. Deploy to 10% of nodes
  5. 1. Make your application boot (fix gem conflicts) 2. Setup

    two Gemfiles and two CI statuses 3. Fix failings tests 4. Deploy to 10% of nodes
  6. 1. Make your application boot (fix gem conflicts) 2. Setup

    two Gemfiles and two CI statuses 3. Fix failings tests 4. Gradually deploy
  7. $ rails new railsclub --skip-spring $ time bundle exec rails

    runner "puts 1+1" 2 0.64s user 0.09s system 24% cpu 2.969 total