Daniel O'Connell 37f0498ddf logout button
2021-03-27 18:40:11 +01:00
..
2021-03-27 18:40:11 +01:00
2021-03-27 18:40:11 +01:00
2021-03-27 18:13:05 +01:00
2021-03-11 19:45:12 +01:00
2021-03-13 11:36:59 +01:00
2021-03-06 21:55:41 +01:00
2021-03-09 19:54:17 +01:00
2021-03-09 19:54:17 +01:00
2021-03-13 11:36:59 +01:00
2021-03-09 19:54:17 +01:00

Frontend

All visible stuff.

Development

Start the server:

npx shadow-cljs watch frontend

The app will be available at http://localhost:8280/

Stylesheets

Run clojure -A:garden -m chicken-master.css compile to generate the css files once. Run clojure -A:garden -m chicken-master.css watch to generate the css files on any change.

Testing

Setup Karma:

npm install karma karma-cljs-test --save-dev
npm install karma-chrome-launcher --save-dev
sudo npm install -g karma-cli

Compile the code:

npx shadow-cljs compile ci

Start the tester:

CHROME_BIN=/usr/bin/chromium karma start

If the tests are only to be run once, use CHROME_BIN=/usr/bin/chromium karma start --single-run