I started playing with Sinatra and deploying on Heroku, which I find really enjoyable. I don't need the scalability Heroku provides, but I really like their CLI and the ability to deploy an app with a simple push. Is there an open source project that releases a VM image that I could slap say, on an EC2 instance and that would provide the same services (web server, postgres, git push-to-deploy, maintenance mode...) 'in the small'?

Edit
Report