Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1.09 KB

README.md

File metadata and controls

61 lines (39 loc) · 1.09 KB

lobster-writer

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.

Development Mode

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

Figwheel will automatically push cljs changes to the browser.

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

Run tests:

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).

Production Build

To compile clojurescript to javascript:

lein clean
lein cljsbuild once min