A barebones Clojure app, which can easily be deployed to Heroku.
This application support the Getting Started with Clojure article - check it out.
Make sure you have Clojure installed. Also, install the Heroku Toolbelt.
Then install RabbitMQ and make sure it's running.
Now download and start the app:
$ git clone https://github.com/heroku/clojure-queuing.git
$ cd clojure-queuing
$ lein repl
user=> (require 'clojure-queuing.web)
user=>(def server (clojure-queuing.web/-main))
Your app should now be running on localhost:5000.
$ heroku create
$ heroku addons:add cloudamqp
$ git push heroku master
$ heroku open
For more information about using Clojure on Heroku, see these Dev Center articles: