3 ms·
git-based deployment takes five seconds to set up and leverages the existing infrastructure instead of creating a feeble reinvention of the wheel Isn't Capistr
by jamesbritt 13y ago
git-based deployment takes five seconds to set up and leverages the existing infrastructure instead of creating a feeble reinvention of the wheel
Isn't Capistrano basically git-based deployment, wrapped in some DSL-ish commands?
- nilved 13y agoSort of. Capistrano can clone a git repo for your application code, but by git-based deployment I mean via post-receive hooks a la Heroku. For example, a short script that runs `bundle install`, `rake assets:precompile` and restarts your web server. Ultimately, you get a solution like Heroku where you deploy by `git push`ing to the server. Trivial to set up, easier to modify, easier to integrate with your git repository, easier to debug, and isn't _completely broken_. Capistrano compared is all downsides.