-Posted Apr 30, 2009 By: Jon Kinney
Most anytime I develop a web application I need to deploy to multiple server environments. For me this used to mean maintaining two separate deploy.rb scripts, and I would rename one while deploying to staging, and then rename the other when I needed to deploy to production. After about three deploys I said, the hell with this! And I figured out how to allow the specification of your deployment at the command line during the cap deploy task.
Continue Reading…
-Posted Apr 15, 2009 By: Jon Kinney
Like many of the “cool kids” in the rails world, I have started using passenger for hosting most of my rails apps on my personal server. One of the great features is that passenger has the ability to “spin up” more instances to a site that is getting a lot of page requests, while not paying as much attention to a site that isn’t receiving any traffic at the moment. This load balancing works great for me for the most part, but one disadvantage is that if a site is left too long without a request it can be very slow to get the site “spun up” again. That is where our new friend cron can help.
Continue Reading…
-Posted Apr 01, 2009 By: Jon Kinney
I am running a VPS over at SilverRack.com and I love it. Dave (the owner) has been very helpful and responsive anytime I’ve had questions or issues, and I highly recommend their service. Also if you’re a member of a local ruby user’s group then you can get $10 off the standard 256mb slice making it extremely affordable to have your very own server! I also have an unlimited Dreamhost account, but I like having root access and full reign of my server.
Continue Reading…