2 ms·
I come off like a Capistrano fanboy in this thread, but I guess that I kind of am. I only ever used the SCP method when I did PHP stuff, but the projects were
by steveklabnik 17y ago
I come off like a Capistrano fanboy in this thread, but I guess that I kind of am.
I only ever used the SCP method when I did PHP stuff, but the projects were never anything that big. Now that I do Rails all the time, having a tool like Capistrano is amazing. 'cap deploy' copies my code, changes the symlink, updates my database schema, notifies my error reporting, restarts my webserver, and cooks me dinner.
Okay, I exaggerate. But seriously. Automation! It's awesome.
- petercooper 17y agoIt is! And even if you just jury rig it! Several of my projects have a deploy script that's just a bash one liner that does a git push and does a git pull and touches a restart file on the server :-)
- steveklabnik 17y agoAnother advantage of this is that it makes you actually commit to your repository, if you're bad at that kind of thing.