My way: Ruby, Sinatra, Heroku

25 03 2009

RubyLearning just had a nice one week introductory course on Sinatra, a DSL for easily creating web applications. The next batch will start on May 2nd (and I’ll probably be around as a mentor again), you can join here if you are interested.

Anyway, since it’s so easy to write applications with Sinatra, you probably don’t want to waste time deploying them. That’s where Heroku comes into play, a Ruby hosting platform which modeled it’s workflow around git. In my – still somewhat limited – experience working with Heroku is painless and feels very natural, kudos to the team for providing us with such a nice option for hosting Rack based apps! In fact I liked Heroku so much, that I wrote a patch for Aaron Quint‘s sinatra-gen which will initialize git and create your app on Heroku for you. It’s not in the main branch yet, but Aaron said he likes the idea and that he will include it. Up until then you can get my version from here.

Update: Said patch – in slightly modified form – is now part of mainline sinatra-gen, so I recommend getting the “official” version, not mine.

Oh yeah, once you are done creating all this shiny new webapps in Sinatra, don’t forget to take some snapshots of them with snapurl, another nifty little app I recently wrote a small patch for.



Trackbacks


No Trackbacks

Comments

Display comments as (Linear | Threaded)
No comments

Add Comment


Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Textile-formatting allowed

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA 1CAPTCHA 2CAPTCHA 3CAPTCHA 4CAPTCHA 5


Standard emoticons like :-) and ;-) are converted to images.