This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-09-09
Channels
- # admin-announcements (1)
- # beginners (78)
- # boot (36)
- # cider (13)
- # cljs-dev (15)
- # cljsjs (3)
- # cljsrn (10)
- # clojure (99)
- # clojure-austin (1)
- # clojure-australia (1)
- # clojure-italy (14)
- # clojure-korea (17)
- # clojure-norway (1)
- # clojure-russia (42)
- # clojure-sg (1)
- # clojure-spec (50)
- # clojure-uk (80)
- # clojurebridge (24)
- # clojurescript (83)
- # community-development (10)
- # conf-proposals (36)
- # core-async (12)
- # cursive (20)
- # datomic (38)
- # hoplon (63)
- # lambdaisland (2)
- # leiningen (6)
- # nyc (2)
- # om (54)
- # om-next (52)
- # onyx (129)
- # planck (15)
- # re-frame (38)
- # reagent (2)
- # rethinkdb (8)
- # specter (1)
- # untangled (2)
@micha: how's the binding thing you were working on going? I'm running into an issue I think that would solve
What branch is it in now? I can just pull the files out
Cool thanks!
hey dvingo, welcome
(deftask make-war "Build a war for deployment" [] (comp (hoplon) (cljs :optimizations :advanced) (uber :as-jars true) (web :serve 'my-app.handler/app) (war) (target :dir #{"target"})))
depends, what is prod for you?
like, how do you prefer to deploy?
cool, so if you install tomcat or jetty on your VPS, there will be a directory you can drop the .war
file that make-war
produces
even easier, install boot
on your vps and serve it that way
oh also, a handy thing to know about
java -jar jetty-runner-9.2.9.v20150224.jar target/project.war
jetty is a servlet container that you can install with the linux package manager
but youc an find that war and see if it will work quickly
err, find that jetty-*.jar file
boot serve uses embedded jetty, yet another way to run it
basicaly there are an infinite number of ways to run jetty 😏
hm, you'll have to cruise the boot wiki or google blog posts
i'm not sure what the state of the art is
one thing to avoid is compiling your cljs on heroku, i've seen people have problems with that because they're pretty stingy about memory
surely, godspeed
ah i remember when ^^ was me
how do I get the server stacktrace from a castra error to print in the console? the xhr request is returning it under the :stack
key in the transit response, but my error value in my cell doesn’t include it.
I see that there’s some code in castra to include it under the ”serverStack”
key, but when I try to get that property there’s nothing there
this is using the cljs-console library to print the debug message, from here https://github.com/adzerk-oss/cljs-console
also i apologize for the messiness of the code there, it's not so pretty but it works 🙂
i guess also sometimes there is an exception in the xhr that never makes it to the backend at all
Does anyone know if there is something that will take a list of cell/function pairs and update each cell according to the function?
im thinking i will need to make some sugar round dosync
and reset!
for this to work
it’s not on http://www.clojure-toolbox.com
most things aren't
@jamieorc: I’ve not used any of them, but this seems like a pretty decent (and recent) comparison of a few - http://realworldclojure.com/application-configuration/
@shaun-mahood thanks. I’m acquainted Paul—he lives here in Charlottesville. Checking out his article now.