Kahuin

Kahuin
Login

/ka'win/, from Mapudungun kawiñ ‎(“party”)

Anonymous gossip platform over a peer-to-peer network.

Development Mode

Install npm dependencies:

lein npm install

Compile css:

Compile css file once.

lein garden once

Automatically recompile css file on change.

lein garden auto

Run application:

lein clean
lein figwheel dev

Or alternatively, start figwheel from the REPL:

lein clean
lein repl
...
user=> (go!)

Figwheel will automatically push cljs changes to the browser.

Wait a bit, then browse to http://localhost:3449.

Run tests:

lein clean
lein doo phantom test once

The above command assumes that you have phantomjs installed. However, please note that doo can be configured to run cljs.test in many other JS environments (chrome, ie, safari, opera, slimer, node, rhino, or nashorn).

Production Build

lein clean
lein cljsbuild once min