Fork me on GitHub
#polylith
<
2022-04-28
>
dumrat05:04:13

In Polylith real world example here: https://github.com/furkan3ayraktar/clojure-polylith-realworld-example-app How does env pick the env.edn file from root level in this file? https://github.com/furkan3ayraktar/clojure-polylith-realworld-example-app/blob/master/components/env/src/clojure/realworld/env/core.clj I'm running repl for my own project and components treat it's own folder as root level, not workspace root.

seancorfield05:04:00

The expectation is that you start the REPL at the workspace level using the :dev alias -- and env.edn will be found since it is relative to the workspace root. Did you start the REPL inside the projects/... folder? projects are for building artifacts, not running REPLs.

👍 1
dumrat05:04:43

ok that works. Thanks