Lobster Writer is a single page app, written in ClojureScript. It uses the re-frame framework.
There is no backend for Lobster Writer, all state is persisted in localstorage.
Compile css file once.
lein garden once
Automatically recompile css file on change.
lein garden auto
lein clean
lein figwheel dev
Figwheel will automatically push cljs changes to the browser.
Wait a bit, then browse to http://localhost:3449.
Install karma and headless chrome
npm install -g karma-cli
npm install karma karma-cljs-test karma-chrome-launcher --save-dev
And then run your tests
lein clean
lein doo chrome-headless test once
Please note that doo can be configured to run cljs.test in many JS environments (phantom, chrome, ie, safari, opera, slimer, node, rhino, or nashorn).
To compile clojurescript to javascript:
lein clean
lein cljsbuild once min