Skip to content
master
Switch branches/tags
Code
This branch is 2 commits ahead, 3 commits behind heroku:main.

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

clojure-getting-started

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 https://github.com/heroku/clojure-getting-started.git
$ 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

or

Deploy to Heroku

Documentation

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

About

Getting Started with Clojure

Resources

Releases

No releases published

Packages

No packages published