The Reference Heap. A Clojure pastebin powered by Compojure, MongoDB, and Pygments.
Clojure CSS JavaScript Shell
Permalink
Failed to load latest commit information.
resources/public Make /fork require POST because fuck crawler bots. May 2, 2014
src/refheap
test/noir/test First commit. Dec 24, 2011
.gitignore
.gitmodules Fix remote. Nov 4, 2012
Procfile Update the Procfile for lein ring. Nov 21, 2012
README.md
bootstrap.sh Added RPM lexer, update pygments, and improve highlighting for RPM fi… Apr 30, 2013
config.clj
epl-v10.html
prod-run.sh trampoline dat shit, yo May 22, 2013
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.