This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-06-01
Channels
- # admin-announcements (3)
- # beginners (25)
- # boot (21)
- # cider (39)
- # cljs-dev (86)
- # cljsrn (20)
- # clojars (4)
- # clojure (70)
- # clojure-canada (1)
- # clojure-greece (101)
- # clojure-poland (16)
- # clojure-russia (35)
- # clojure-spec (202)
- # clojure-uk (24)
- # clojurescript (69)
- # cursive (23)
- # datomic (34)
- # devcards (7)
- # dirac (5)
- # editors (3)
- # emacs (6)
- # events (1)
- # hoplon (52)
- # instaparse (1)
- # jobs (4)
- # jvm (2)
- # lein-figwheel (2)
- # leiningen (10)
- # luminus (2)
- # mount (1)
- # off-topic (12)
- # om (55)
- # om-next (8)
- # onyx (19)
- # pedestal (4)
- # planck (1)
- # re-frame (27)
- # reagent (5)
- # remote-jobs (1)
- # spirituality-ethics (14)
- # tmp-json-parsing (6)
- # untangled (121)
- # yada (32)
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?
I'd like to see a code sample of that, @richiardiandrea.
@escherize: sure, just do lein new lambone your-project +frontend
and check dev/boot.clj
I would link you to the project but is better to see it in action
@richiardiandrea: @dominicm please extend: https://github.com/boot-clj/boot/wiki/Filter-dependencies-on-pods#why-env-should-be-customizeable-on-a-per-podper-task-basis
@martinklepsch: Thanks for getting us started.
Well I have no idea if that structure is good, just figured putting out something might help 🙂
@dominicm: https://clojurians-log.clojureverse.org/ may help you with decaying
@settinghead: it's possible to set up a single task with multiple serve
tasks, one for each server
(serve task: https://github.com/pandeiro/boot-http)
you can have a single watch that watches the entire codebase, assuming the code is all managed by the same build.boot file
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™
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.