Getting Started with Clojure
Clone or download
Pull request Compare This branch is 2 commits ahead of heroku:master.
Latest commit 2a6c404 Jan 3, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources init Aug 20, 2014
src/clojure_getting_started Changed display text to be simple Feb 26, 2016
test/clojure_getting_started init Aug 20, 2014
.gitignore init Aug 20, 2014
Procfile init Aug 20, 2014 Update README Jan 3, 2019
app.json Consistent naming across the guides Aug 11, 2016
project.clj Bump dependencies to current versions and add ring server hooks for l… Jan 3, 2019


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.

First, clone the repo. Then you can change into the repo working directory and run the app.

To run via lein ring:

$ lein ring server

To run in a REPL session:

$ git clone
$ cd clojure-getting-started
$ lein repl
user=> (require 'clojure-getting-started.web)
user=>(def server (clojure-getting-started.web/-main))

Your app should now be running on localhost:5000.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku open


Deploy to Heroku


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