This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-10-30
Channels
- # admin-announcements (11)
- # announcements (1)
- # beginners (1)
- # boot (247)
- # cider (15)
- # clara (16)
- # cljs-dev (14)
- # clojure (118)
- # clojure-czech (10)
- # clojure-ecuador (1)
- # clojure-japan (1)
- # clojure-russia (22)
- # clojurescript (57)
- # data-science (12)
- # datomic (2)
- # devcards (1)
- # editors-rus (2)
- # emacs (1)
- # events (2)
- # funcool (1)
- # hoplon (37)
- # juxt (1)
- # ldnclj (2)
- # leiningen (1)
- # nginx (12)
- # off-topic (16)
- # om (361)
- # onyx (34)
- # re-frame (3)
- # spacemacs (9)
- # yada (43)
I working on deploying a hoplon/castra app - on Openshift - it has Tomcat and Wildfly - the demos have deploy-uberwar but the only task I can find is the prod task that compiles the clojurescript - It seems I need another task to produce an uberwar. Any suggestions?
@tbrooke: you'll want a combination of the web
, uber
, and war
tasks
e.g. boot web -s my/app uber -j war
where my/app is a ring app function
'web' adds a java thing so you don't need to AOT compile your clojure, uber -j puts dependency jars in the fileset, and war makes a .war of the whole mess
i have another noob q
(def test-values (cell (map cell (range 10))))
(print test-values)
(html
(body
(loop-tpl :bindings [n test-values]
(div :text n)
)
)
)
why doesn’t this print 10 divs?
to the dom
@thedavidmeister: no need for the cells within cells
(def test-values (cell (range 10)))
(print test-values)
(html
(body
(loop-tpl :bindings [n test-values]
(div :text n)
)
)
)
still doesn’t show divs for me
that worked
does it have something to do with the loop-tpl
or that body is a “make-singleton-ctor”?
No - look at the hoplon code - (head) and (body) are make-singleton-ctor’s - different than other elements like (div).
rightio
seems like it would make sense to start everything with a div
just inside the body
for safety
Excellent - and you? Lots of goodness coming out of boot land I see! Continues to gain traction.
it used to be that you had to download the binary from time to time when the version changed
how come
(loop-tpl :bindings [n test-values]
(input :value n)
(br))
does not produce <br /> tags?