kit-clj / kit-clj/kit

Reading .env or config.edn files by default

Open
#78 4 comments 0 reactions 0 assignees View on GitHub
documentation enhancement
Dominant language
Clojure
Stars
558
Forks
56
PR merge metrics
No merged PRs in 30d

Description

As a new user I've been struggling with this for a while. From what I can tell, `system.edn` uses aero to read environment variables, but it has no ability to read from actual .env files.

Since Integrant is so central to the kit workflow, it'd be great if there was already a bootstrap in place for reading from either .env or config.edn files. It's standard to have local environment files that aren't in version history. I, however, have had trouble finding a way to "export" these locally defined variables before integrant's config is read.

There doesn't appear to be anything for this at the moment.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting system.edn and the Integrant configuration-loading path, including how aero currently reads environment variables. Determine where .env or config.edn values would need to be available before Integrant reads its config; done means a documented default bootstrap supports those local files without requiring manual exports.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.