This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-12
Channels
- # beginners (36)
- # boot (11)
- # cider (10)
- # cljs-dev (10)
- # cljsrn (3)
- # clojure (103)
- # clojure-greece (1)
- # clojure-italy (16)
- # clojure-nl (3)
- # clojure-spec (59)
- # clojure-uk (129)
- # clojurescript (125)
- # data-science (29)
- # datomic (30)
- # emacs (12)
- # events (5)
- # fulcro (61)
- # graphql (5)
- # keechma (3)
- # leiningen (9)
- # luminus (7)
- # onyx (26)
- # re-frame (3)
- # reagent (56)
- # reitit (25)
- # ring-swagger (16)
- # shadow-cljs (44)
- # spacemacs (4)
- # specter (2)
- # tools-deps (7)
- # vim (8)
👋:skin-tone-4: hi - scaffolded a branch new luminus project using version 2.9.12.52
and im not able to get the JAR to run locally.
This is the app profiles I used lein new luminus foo +http-kit +sqlite +cljs +re-frame +sassc
. Any idea on how to begin debugging this ?
it doesnt throw an error just exits right away PORT=3000 java -jar ./target/uberjar/foo
wondering if im missing something in project.clj
config
@dviramontes the app exists because it can't find the database, if you look in log/foo.log
, it should say something like:
2018-06-11 22:20:34,040 [main] ERROR foo.core - Database configuration not found, :database-url environment variable must be set before running
you can run migrations with:
java -jar -Dconf=dev-config.edn target/uberjar/foo.jar migrate
and then start the app:
java -jar -Dconf=dev-config.edn target/uberjar/foo.jar
as a note, if you run the app in dev mode with lein run
, then it will print the error to standard out