3 ms·
If the goal is to simplify deployment process, why not use something like Capistrano or Fabric? You can run 'Cap deploy <dev|prod>'
by gsharma 11y ago
If the goal is to simplify deployment process, why not use something like Capistrano or Fabric? You can run 'Cap deploy <dev|prod>'
- Benjamin_Dobell 11y agoBecause, as mentioned, I already deploy in one line: git push deploy/uat and I didn't have to write a single deployment script to achieve it. Plus, by using Dokku I get the benefits of containerised apps.
- simplify 11y agoWhat are the benefits of containerised apps in your case?
- IgorPartola 11y agoFabric is a great tool at first, but the problem is that it's always procedural. Want a deploy script? Write it. No other way around that. Something that's more declarative is definitely superior. Why? Because it will be shorter and easier to debug. I am not a fan of `git push` as a deployment strategy (because git is a version control tool, not a deployment tool), but it does force you to create and use a system that's by definition declarative. This is why I use dokku for my new projects.