Skip to content

wolfgangshilei/mine-sweep

Repository files navigation

mine-sweep

A re-frame application designed to ... well, that part is up to you.

There is an online version of this SPA with backend integation, please try it out at heroku

Install shadow-cljs:

npm install --save-dev shadow-cljs
npm install -g shadow-cljs

For more information about shadow-cljs, please read the document of shadow-cljs.

Development Mode

Run application:

shadow-cljs watch app

Figwheel will automatically push cljs changes to the browser.

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

Start Cider from Emacs:

Put this in your Emacs config file:

Start a shadow-cljs REPL with cider-jack-in-clojurescript or (C-c M-J)

Which command should be used:

enter shadow-cljs

Select ClojureScript REPL type:

enter shadow

Then enter "app" as the name of the build target.

Run tests:

Install karma and headless chrome (ignore this step for now)

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

And then run your tests

shadow-cljs watch test

Production Build

To compile clojurescript to javascript:

shadow-cljs release app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published