This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-05
Channels
- # announcements (17)
- # aws (1)
- # babashka (68)
- # beginners (88)
- # calva (85)
- # chlorine-clover (10)
- # cider (5)
- # cljsrn (4)
- # clojure (99)
- # clojure-android (1)
- # clojure-denmark (1)
- # clojure-europe (15)
- # clojure-italy (5)
- # clojure-nl (3)
- # clojure-spec (1)
- # clojure-uk (67)
- # clojurescript (44)
- # core-async (44)
- # cryogen (4)
- # cursive (22)
- # data-science (2)
- # datascript (10)
- # datomic (29)
- # duct (11)
- # editors (2)
- # emacs (2)
- # events (1)
- # fulcro (28)
- # ghostwheel (7)
- # graalvm (8)
- # instaparse (6)
- # java (34)
- # jobs (9)
- # jobs-discuss (71)
- # juxt (12)
- # luminus (3)
- # malli (15)
- # meander (9)
- # nrepl (4)
- # off-topic (44)
- # pathom (13)
- # reagent (22)
- # schema (1)
- # shadow-cljs (39)
- # spacemacs (2)
- # test-check (1)
- # tree-sitter (5)
- # xtdb (5)
- # yada (1)
hi everyone! quick question here. I wrote a luminus based app and a small crawler inside the app that I want to run repeatedly. I use overtone.at-at for the scheduling part. now I just want to see what is the best way to initiate my crawler (any job) in a luminus based app. do I go to my main function and modify it to include scheduling my job or is there a rather better practice for this?
ok, I think I figured it out. I am using the idea of components as described in luminus documentation here https://luminusweb.com/docs/components.html briefly: I needed to define a function that starts the component, a function that stops the component, use those two functions in (defstate env-var :start start-func :stop stop-func) [all this in the namespace where I create my component], and then require this namespace in env/dev/user.clj
Why is it emphasized in the docs that dev-config.edn
should not be checked into the source repo? Since it’s a local db anyway, what is the issue?