Fork me on GitHub
#boot
<
2016-06-01
>
settinghead03:06:18

how would you guys structure a project with multiple http websites (each with their own http server + cljs root) that coordinate with each other via user’s browser? do you just fire up multiple boot watch instances during development?

escherize04:06:05

I'd like to see a code sample of that, @richiardiandrea.

richiardiandrea05:06:25

@escherize: sure, just do lein new lambone your-project +frontend and check dev/boot.clj

richiardiandrea05:06:45

I would link you to the project but is better to see it in action

escherize05:06:22

:+1::skin-tone-3:

dominicm09:06:25

@martinklepsch: Thanks for getting us started.

dominicm09:06:05

I wouldn't have known how to start without a little structure.

martinklepsch09:06:09

Well I have no idea if that structure is good, just figured putting out something might help 🙂

dominicm09:06:25

Yeah, slack is decaying, plenty of things I wish I had saved.

mynomoto11:06:23

@dominicm: https://clojurians-log.clojureverse.org/ may help you with decaying

dave14:06:32

@settinghead: it's possible to set up a single task with multiple serve tasks, one for each server

dave14:06:56

you can have a single watch that watches the entire codebase, assuming the code is all managed by the same build.boot file

dave14:06:02

i'm not sure what your requirements are exactly for the servers "coordinating with each other," but with this kind of a setup, it might just work™

danielsz21:06:10

cljsjs has externs for a number of data visualization libraries. Anyone care to recommend one for me. I'm looking for ring/pie charts. I'm currently considering chartjs, maybe dimple. If someone has recently took that route, I'd love to know more.

danielsz22:06:48

chartjs works nicely 🙂

mynomoto23:06:46

@danielsz: vega is pretty amazing

danielsz23:06:16

@mynomoto: Thanks! Are the externs in cljsjs good too?

mynomoto23:06:31

@danielsz: I never had problems with then (I did the first version of the package) and Deraen updated it with more stuff so you should be good on that front.

danielsz23:06:46

@mynomoto: Cool!