This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-11-02
Channels
- # admin-announcements (1)
- # aws-lambda (9)
- # beginners (161)
- # boot (1)
- # cider (3)
- # cljsrn (36)
- # clojure (245)
- # clojure-austin (2)
- # clojure-denmark (3)
- # clojure-dev (11)
- # clojure-greece (6)
- # clojure-italy (25)
- # clojure-russia (5)
- # clojure-serbia (1)
- # clojure-spec (76)
- # clojure-uk (78)
- # clojurescript (168)
- # clojurex (4)
- # community-development (7)
- # core-async (11)
- # core-logic (5)
- # css (6)
- # cursive (8)
- # data-science (6)
- # datomic (5)
- # devops (4)
- # duct (17)
- # emacs (1)
- # figwheel (8)
- # fulcro (51)
- # hoplon (4)
- # instaparse (3)
- # kekkonen (6)
- # klipse (3)
- # lein-figwheel (9)
- # luminus (2)
- # lumo (3)
- # midje (4)
- # off-topic (11)
- # om (4)
- # onyx (62)
- # other-languages (60)
- # re-frame (21)
- # reagent (63)
- # rum (1)
- # shadow-cljs (22)
- # spacemacs (22)
- # specter (23)
- # test-check (2)
- # vim (2)
- # yada (6)
@weavejester Why can migrator.ragtime
not run in uberjar? I’m not using module.sql
.
@jahson It should be able to.
@jahson How are you running it?
@weavejester I’m just running uberjar like java -jar xxx.jar
@jahson Are you running the :duct/migrator
key?
@weavejester No, nowhere in the code. Should I run it explicitly?
Yep. In the REPL it runs automatically, but in production it’s usually not a good idea to do that, since you might be running several servers behind a load balancer.
So java -jar xxx.jar :duct/migrator
@jahson https://github.com/duct-framework/core#usage goes into more detail
@weavejester Yeah, already reading it.
@weavejester Curious about code that stops
(defmethod ig/init-key :duct.migrator/ragtime [_ options]
(migrate {} options))
from running. Can you please point me to it?Should just be in your main
namespace
If no keys are specified, run :duct/daemon
keys.