Clojurians
#lumo
<
2018-05-28
>

This page is not created by, affiliated with, or supported by Slack Technologies, Inc.

borkdude08:05:20

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

borkdude10:05:30

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

borkdude10:05:15

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

borkdude10:05:48

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

anmonteiro17:05:11

@borkdude what about docker run -it anmonteiro/lumo

anmonteiro17:05:15

we do provide a docker image :stuck_out_tongue:

anmonteiro17:05:21

I publish one with every release

anmonteiro17:05:43

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

borkdude20:05:46

that one hasn’t got yarn