This commit is contained in:
2026-02-06 07:26:30 -08:00
parent 310906f2ae
commit 2df1f71a29
3 changed files with 10 additions and 228 deletions

View File

@@ -22,18 +22,20 @@ lein uberjar # Standalone JAR
npm install # Install Node.js dependencies (for frontend build)
```
**Development:**
### Development
```bash
lein build-dev # Figwheel dev build (hot reload for CLJS)
docker-compose up -d # Start Datomic, Solr services
lein repl # Start Clojure REPL (nREPL on port 9000)
lein test # Run all tests
lein test :integration # Run integration tests only
lein test :functional # Run functional tests only
lein repl # Start Clojure REPL (nREPL on port 9000), typically one will be running for you already
lein cljfmt check # Check code formatting
lein cljfmt fix # Auto-format code
clj-paren-repair [FILE ...] # fix parentheses in files
clj-nrepl-eval -p PORT "(+ 1 2 3)" # evaluate clojure code
```
Often times, if a file won't compile, first clj-paren-repair on the file, then try again. If it doesn't wor still, try cljfmt check.
**Running the Application:**
**As Web Server:**
@@ -63,7 +65,7 @@ Set `INTEGREAT_JOB` environment variable to one of:
3. Bidi routes dispatch to handlers
4. SSR (server-side rendering) generates HTML with Hiccup for main views
5. For interactive pages, HTMX handles partial updates
6. Client-side uses Re-frame for state management
6. Client-side uses alpinejs as a bonus
**Multi-tenancy:**
- Client-based filtering via `:client/code` and `:client/groups`