{"id":53,"date":"2007-11-21T22:09:28","date_gmt":"2007-11-22T03:09:28","guid":{"rendered":"http:\/\/unixmonkey.net\/blog\/?p=3"},"modified":"2007-11-21T22:09:28","modified_gmt":"2007-11-22T03:09:28","slug":"rapid-rails-deployment-with-heroku-beta","status":"publish","type":"post","link":"https:\/\/unixmonkey.net\/?p=53","title":{"rendered":"Rapid Rails Deployment with Heroku Beta"},"content":{"rendered":"<p>Today I got an email from <a href=\"http:\/\/heroku.com\" title=\"heroku\">heroku.com<\/a> to beta test their rails hosting.  Its pretty cool as it provides a web interface to setting up and editing your ruby on rails applications.<\/p>\n<p>Within seconds of my getting the email, I had logged in and created a new rails app.  Heroku automatically added a database.yml file pre-populated with the correct database connection info.<\/p>\n<p>I wanted to see if I could get mephisto running quickly, as my host for unixmonkey.net had gone down last week and shows no sign of returning.  I opened their interactive rake terminal and ran db:schema:load and db:bootstrap and my app was instantly available to me to log in and start configuring.<\/p>\n<p>Everything was working fine for several hours while I was setting up to make my first huge post, but them I went to check it out at 6pm, it was down with a 500 error (ngnix), even the main heroku.com was down with a \u201czero sized reply\u201d.  But I checked again 2 hours or so later, and it was back up.<\/p>\n<p>This is hands-down the easiest deployment I&#8217;ve ever seen.  Either start with a fresh rails app, or import yours as a gzipped tar file.  The only downsides so far:<\/p>\n<p>* There is is a 10mb limit per app, so you can&#8217;t freeze rails in your vendor directory.<br \/>\n* There is a bandwidth limit I hit almost immediately after making my app public, and you can&#8217;t admin your site at all when overlimit, best you can do is export a dump of your app.<br \/>\n* Your app is always running in development mode. (production and other are planned for later release).<\/p>\n<p>All these are likely just part of growing pains, and will be addressed eventually.<\/p>\n<p>I sent an email to their support staff and my questions were addressed within hours, even late on a Saturday.  You can tell its a labor of love.<\/p>\n<p>Sign up for the beta. Its really cool.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I got an email from heroku.com to beta test their rails hosting. Its pretty cool as it provides a web interface to setting up and editing your ruby on rails applications. Within seconds of my getting the email, I had logged in and created a new rails app. Heroku automatically added a database.yml file [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,14,15],"tags":[37,45,46],"_links":{"self":[{"href":"https:\/\/unixmonkey.net\/index.php?rest_route=\/wp\/v2\/posts\/53"}],"collection":[{"href":"https:\/\/unixmonkey.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unixmonkey.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unixmonkey.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unixmonkey.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":0,"href":"https:\/\/unixmonkey.net\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions"}],"wp:attachment":[{"href":"https:\/\/unixmonkey.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unixmonkey.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unixmonkey.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}