Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Latest commit

 

History

History
39 lines (25 loc) · 1.03 KB

README.md

File metadata and controls

39 lines (25 loc) · 1.03 KB

Clojure Queuing Example

A barebones Clojure app, which can easily be deployed to Heroku.

This application support the Getting Started with Clojure article - check it out.

Running Locally

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.

Deploying to Heroku

$ heroku create
$ heroku addons:add cloudamqp
$ git push heroku master
$ heroku open

Documentation

For more information about using Clojure on Heroku, see these Dev Center articles: