Cryogen

Static sites generated with Clojure

Cryogen aims to be as simple as possible. There's no need to set up a database or jump through hoops just to get a boilerplate template going.

To get started, you'll need to have either Leiningen or Clojure CLI with clj-new as a tool. Once you have that ready, here's how to get the base template.

# Leiningen:
~ $ lein new cryogen my-blog
~ $ cd my-blog

# start continuous build that watches for changes
~/my-blog $ lein serve

# build for deployment
~ $ lein run

# Clojure CLI (after installing clj-new as a tool - see link above)):
~ $ clojure -Tclj-new :template cryogen :name me.my-blog
~ $ cd me.my-blog

# start continuous build that watches for changes
~/my-blog $ clojure -X:serve

# build for deployment
~ $ clojure -M:build

Once the server starts, you can visit your site at localhost:3000. The first thing you'll see is a helpful README on what to do next.