Skip to content
The Reference Heap. A Clojure pastebin powered by Compojure, MongoDB, and Pygments.
Clojure CSS JavaScript Shell
Find file
Failed to load latest commit information.
resources/public Make /fork require POST because fuck crawler bots.
src/refheap Added coffee extension for coffeescript.
test/noir/test First commit.
.gitignore Add target to .gitignore.
.gitmodules Fix remote.
Procfile
README.md Update README.md
bootstrap.sh Added RPM lexer, update pygments, and improve highlighting for RPM fi…
config.clj Allow for site to be served from multiple hostnames.
epl-v10.html Added license.
prod-run.sh trampoline dat shit, yo
project.clj Update lib-noir dependency to 0.5.6

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.