Rails Rocks – macForecast Updated
Filed under: Commentary
Just a quickie to say that I am so digging Rails.
I’ve been working on my first ever rails app, macForecast, for a few weeks now.
I originally launched it mere days before MacWorld which was later than I had wanted to go but for just moving 4,000 miles, not too bad.
The ‘launch’ was fraught with deployment issues… trying to get my host configured exactly as needed, load the site into subversion, setup capistrano, etc proved to be more than a 1 evening job so I ended up just ftping the files in place and figured I’d handle the rest later.
I’m happy to say that the last week has seen some outrageous progress. Thanks to a slew of tutorials and troubleshooting tips found via Google I now have a subversion repository on the webhost that I can commit my changes to from my iMac at home. Better still is Capistrano! Thanks to it, a single command deploys the version in my subversion repository to the production environment.
Bottom line is after screwing around with my site on my iMac a single command checks it in to the online repository:
svn commit
And a second command deploys the revision from the repository to production:
cap deploy
Or if there are changes to the database structure or other migrations:
cap deploy:migrations
The two commands take around 60 seconds to execute in total and presto chango everything is live and updated online!
I still have a ton of things to take care of but this lets me focus so much more on the app instead of housekeeping version control / deployment issues!























0 comments
Kick things off by filling out the form below.
Leave a Comment