part of the groupelephant.com family
beyond corporate purpose

Secret pictures (SPIC)

27 Apr 2010

A couple of weeks ago, ruby-play was imminent and in such a case one should always try some new things. Heroku is hot, so it had to be something I could deploy on Heroku. Sinatra 1.0 was released, so it had to be something using Sinatra.

What else? S3 is always fun and with that in mind I found the CarrierWave gem.

More? Sure. To experiment with something else then ActiveRecord I used Sequel.

Does it blend? Sure!

A new example app was born: SPIC. Spic (secret pictures) allows you to upload files to S3 for your sharing pleasure.

Heroku really is fun to use. One can setup Spic in only a matter of seconds.

git clone git://github.com/atog/spic.git
cd spic
heroku create
git push heroku master
heroku config:add S3_KEY=your_s3_key S3_SECRET=your_amazon_secret S3_BUCKET=your_bucket SECRET=your_own_personal_jesus
heroku open

It was fun. It was short. It is good.

blog comments powered by Disqus