This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-17
Channels
- # bangalore-clj (2)
- # beginners (51)
- # boot (20)
- # cider (14)
- # clara (1)
- # cljs-dev (14)
- # cljsrn (50)
- # clojure (140)
- # clojure-dev (5)
- # clojure-france (1)
- # clojure-gamedev (3)
- # clojure-italy (4)
- # clojure-poland (3)
- # clojure-russia (8)
- # clojure-sg (1)
- # clojure-spec (64)
- # clojure-uk (51)
- # clojurescript (54)
- # core-typed (1)
- # data-science (2)
- # datomic (61)
- # docker (1)
- # emacs (6)
- # events (1)
- # graphql (1)
- # hoplon (14)
- # leiningen (8)
- # luminus (3)
- # mount (6)
- # off-topic (18)
- # om (17)
- # parinfer (34)
- # pedestal (47)
- # play-clj (1)
- # protorepl (1)
- # re-frame (56)
- # reagent (11)
- # ring-swagger (5)
- # rum (6)
- # sql (1)
- # uncomplicate (2)
- # vim (3)
- # yada (31)
@malcolmsparks would it by any chance be possible if you did a bidi 2.1.2 release ? we're getting NPE's unless we apply the one single patch you did since the 2.1.1 release
hi @lmergen - bidi 2.1.2 should now be available on clojars
Hey there @malcolmsparks 🙂 Hope you are well 🙂 I’ve finally put my app on a remote server, and (for now) I am running it with Boot and proxying traffic to the app using Nginx, there is just one teeny problem… The {% url … %} tags in my templates are generating URLs that include “localhost:3000” before the first “/”… Is there a quick way to configure this behaviour out?
@maleghast that's strange
the code for the url fn is in edge/selmer.clj
I see that it requires resources to be in the edge.resources
ns
that could be the issue
otherwise, have a check of your config.edn
what have you put in resources/config.edn
for :prod
glad to have helped
I was running the app with “boot dev” if I run it with “boot prod” it will just pick up everything that is configured in Aero files with #profile as “:prod” right?
@malcolmsparks thanks a lot!
@maleghast not exaclyt
you need to run it with boot run
boot dev is a dev system with a REPL etc.
or via an uberjar
@malcolmsparks Yeah, I was trying:
boot run -p prod
but I get a funky error:
[ec2-user@ip-172-31-32-147 platform-beta]$ boot run -p prod
java.lang.Thread.run Thread.java: 748
java.util.concurrent.ThreadPoolExecutor$Worker.run ThreadPoolExecutor.java: 617
java.util.concurrent.ThreadPoolExecutor.runWorker ThreadPoolExecutor.java: 1142
java.util.concurrent.FutureTask.run FutureTask.java: 266
...
clojure.core/binding-conveyor-fn/fn core.clj: 2020
boot.core/boot/fn core.clj: 1030
...
boot.core/construct-tasks core.clj: 992
clojure.core/apply core.clj: 657
...
boot.user/eval38018/fn boot.user2796444862284606776.clj: 33
...
boot.user/eval37980/fn boot.user2796444862284606776.clj: 31
java.lang.IllegalArgumentException: no value supplied for option :prod
clojure.lang.ExceptionInfo: no value supplied for option :prod
file: "/tmp/boot.user2796444862284606776.clj"
line: 55
try with just boot run
Unfortunately I am about to be offline - café I work out of at the moment closes at 1700h Mon-Weds - but I will try and get in touch tomorrow morning.
Thanks again @malcolmsparks