A re-frame application designed to calculate bicycle gears for fixed gear, internal gear and deraileur gear bikes.
This uses the clojure bicycle-gear-calc library
Created with this template.
lein new re-frame prod-inv-ui +re-com +cider +garden +10x +test
Refer to the shadow-cljs Emacs / CIDER documentation.
The mentioned dir-local.el
file has been created.
Compile css file once.
lein garden once
Automatically recompile css file on change.
lein garden auto
lein clean
lein dev
shadow-cljs will automatically push cljs changes to the browser.
Wait a bit, then browse to http://localhost:8280.
Install karma and headless chrome
npm install -g karma-cli
And then run your tests
lein clean
lein run -m shadow.cljs.devtools.cli compile karma-test
karma start --single-run --reporters junit,dots