Experimental live-coding project using blend4web via clojurescript.
-
Make sure you have all the necessary prereqs for Clojure/Clojurescript, and the Boot build tool. Also have the cljs-blend4web .jar installed in your local maven cache, instructions to install cljs-blend4web jar.
-
Download/Checkout this repo.
-
Get into a terminal emulator, and cd into the repo
-
To live-code, enter the following command (you should be in the same directory as the build.boot file)
boot b4w-live
-
Wait for it to download the deps/compile all the js, ignore the epic list of warnings the compiler gives you, and point your browser to
localhost:8000
. Boom. -
Open up
src/monkey_project/live.cljs
. Specifically, theactions
map. -
Brace yourselves for some crazy. Look the browser -- we are.....LLLLLLIVE!
Enjoy!
If you'd like to share on the web, I recommend using the :advanced
compilation settings, or
boot deploy