Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
The Reference Heap. A Clojure pastebin powered by Compojure, MongoDB, and Pygments.
Clojure CSS JavaScript Shell

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
resources/public
src/refheap
test/noir/test
.gitignore
.gitmodules
Procfile
README.md
bootstrap.sh
config.clj
epl-v10.html
prod-run.sh
project.clj

README.md

RefHeap, The Reference Heap!

This project is a lightweight Clojure pastebin that uses Pygments for syntax highlighting.

Usage

Grab general project dependencies with lein, and grab Pygments with the provided bash script. This project also requires MongoDB.

$ lein deps
$ ./bootstrap.sh

Start the Mongo daemon, and in a separate terminal start the RefHeap server using lein. The server will host content from http://localhost:3000.

$ mongod
$ lein ring server

License

Distributed under the Eclipse Public License, the same as Clojure; the terms of which can be found in the file epl-v10.html at the root of this disribution or at http://opensource.org/licenses/eclipse-1.0.php.

Something went wrong with that request. Please try again.