lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
borkdude 2018-05-28T08:33:20.000002Z

Running the newest lumo from Docker is pretty easy:

docker run -v$(PWD)/:/home/node/app -w/home/node/app node yarn add lumo-cljs --dev
docker run -v$(PWD)/:/home/node/app -w/home/node/app -it node yarn lumo

borkdude 2018-05-28T10:05:30.000274Z

Now this is pretty exciting… single file, no build step required, so I can deploy this as is. https://github.com/borkdude/balcony/blob/master/lumo/scripts/balcony.cljs

$ time scripts/balcony.cljs
2018-05-28 2018-05-29
scripts/balcony.cljs  0.88s user 0.11s system 128% cpu 0.766 total

borkdude 2018-05-28T10:06:15.000079Z

as long as clj and lumo are installed, it should work. npm packages via webjars

borkdude 2018-05-28T10:31:48.000196Z

This approach works as long as you can deploy npm packages to webjars that are not there yet. https://github.com/webjars/webjars/issues/1771

anmonteiro 2018-05-28T17:25:11.000007Z

@borkdude what about docker run -it anmonteiro/lumo

anmonteiro 2018-05-28T17:25:15.000070Z

we do provide a docker image 😛

anmonteiro 2018-05-28T17:25:21.000048Z

I publish one with every release

anmonteiro 2018-05-28T17:26:43.000125Z

hah, interesting, it seems like I forgot to push 1.8

borkdude 2018-05-28T20:23:46.000062Z

that one hasn’t got yarn