Requires Leiningen 2.0.0 or greater (available as an OS X Homebrew package and in all reasonable Linux package managers).
In the main project directory:
$ lein ring server-headless
This will start a server listening on localhost:3000
.
$ lein test
This will run all tests.
This code is in the public domain.