[Rock'n Rails] Deploying Rails Applications with Capistrano
Upcoming SlideShare
Loading in...5
×
 

[Rock'n Rails] Deploying Rails Applications with Capistrano

on

  • 1,353 views

Palestra sobre capistrano apresentado no Rock and Rails.

Palestra sobre capistrano apresentado no Rock and Rails.

Statistics

Views

Total Views
1,353
Views on SlideShare
1,271
Embed Views
82

Actions

Likes
3
Downloads
10
Comments
0

4 Embeds 82

http://www.almirmendes.com 39
http://www.almirmendes.com 39
http://a0.twimg.com 3
http://paper.li 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

[Rock'n Rails] Deploying Rails Applications with Capistrano [Rock'n Rails] Deploying Rails Applications with Capistrano Presentation Transcript

  • Deploying Rails applications with Capistrano http://www.flickr.com/photos/jsome1/2226394415
  • Eu sou Almir m3nd3s @m3nd3s
  • Desenvolvedor nahttp://www.giran.com.br
  • deploy
  • Mas, o que é deploy?
  • http://www.flickr.com/photos/ivyfield/4763965911Colocar a aplicaçãoem produção
  • DatabaseUpload Static files
  • … trabalhosohttp://www.flickr.com/photos/migueleveryday/5914092322
  • Mas, seus problemas acabaram
  • Capistrano facilita sua vida
  • Capistrano faz pra você
  • Mas, faz o que?
  • TUDO!
  • TUTO??!http://www.flickr.com/photos/brapps/2890452070
  • Sim! TUDO!
  • Pré-requisitos
  • Servidor
  • Ruby
  • OpenSSH
  • Git
  • A aplicação
  • Instalação
  • $ gem install capistrano
  • Gemfilegroup :development, test do gem capistranoend
  • $ bundle install
  • $ capify . ou$ capify rockandrails/
  • Capfile
  • config/deploy.rb
  • Configuração
  • https://gist.github.com/****503
  • sets
  • roles
  • Webserver Database Static files
  • Webserver
  • https://gist.github.com/****503
  • Setup
  • $ cap deploy:setup
  • versão atual releases Compartilhados
  • Finalmente, o deploy!
  • Pára de enrolar seu trouxa! Woohooou! Até que enfimAeee
  • $ cap deploy
  • Correr para o abraço
  • Ops! :(Não rodou as migrations
  • Sabia que estava fácil demais
  • Ajustes finos
  • #comofáz?
  • Custom taks
  • gatilhos
  • https://gist.github.com/****503
  • $ cap deploy
  • Mas, se minha app não for Rails?
  • Migre para Rails! Seu fanfarrão!
  • Referências
  • https://github.com/capistrano/capistrano/wiki/_pages
  • https://gist.github.com/1252503
  • Dúvidas?
  • Dúvidas?
  • Almir m3nd3s @m3nd3shttp://www.almirmendes.com almir.mendes@giran.com.br m3nd3s@gmail.com