@@ -63,7 +63,8 @@ content:
63
63
64
64
[,clojure]
65
65
----
66
- {:deps {org.duct-framework/main {:mvn/version "0.1.1"}}
66
+ {:deps {org.clojure/clojure {:mvn/version "1.12.0"}
67
+ org.duct-framework/main {:mvn/version "0.1.3"}}
67
68
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
68
69
----
69
70
@@ -133,7 +134,7 @@ If we try running Duct, it will complain about a missing namespace.
133
134
[,shell]
134
135
----
135
136
$ duct --main
136
- ✓ Initiating system...
137
+ ✗ Initiating system...
137
138
Execution error (IllegalArgumentException) at integrant.core/eval1191$fn (core.cljc:490).
138
139
No such namespace: tutorial.print
139
140
----
@@ -184,7 +185,8 @@ The REPL is an interactive development environment.
184
185
----
185
186
$ duct --repl
186
187
✓ Loading REPL environment...
187
- [Repl balance] Type :repl/help for online help info
188
+ • Type :repl/help for REPL help, (go) to initiate the system and (reset)
189
+ to reload modified namespaces and restart the system (hotkey Alt-E).
188
190
user=>
189
191
----
190
192
@@ -210,6 +212,8 @@ Hello World
210
212
:resumed
211
213
----
212
214
215
+ You can also use the Alt-E hotkey instead of typing `(reset)`.
216
+
213
217
The configuration defined by `duct.edn` can be accessed with `config`,
214
218
and the running system can be accessed with `system`.
215
219
@@ -231,8 +235,9 @@ We'll first add the dependency to `deps.edn`.
231
235
232
236
[,clojure]
233
237
----
234
- {:deps {org.duct-framework/main {:mvn/version "0.1.1"}
235
- org.duct-framework/module.logging {:mvn/version "0.6.4"}}
238
+ {:deps {org.clojure/clojure {:mvn/version "1.12.0"}
239
+ org.duct-framework/main {:mvn/version "0.1.3"}
240
+ org.duct-framework/module.logging {:mvn/version "0.6.5"}}
236
241
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
237
242
----
238
243
@@ -481,9 +486,10 @@ https://github.com/seancorfield/next-jdbc[next.jdbc].
481
486
.deps.edn
482
487
[,clojure]
483
488
----
484
- {:deps {org.duct-framework/main {:mvn/version "0.1.1"}
485
- org.duct-framework/module.logging {:mvn/version "0.6.4"}
486
- org.duct-framework/module.sql {:mvn/version "0.7.0"}
489
+ {:deps {org.clojure/clojure {:mvn/version "1.12.0"}
490
+ org.duct-framework/main {:mvn/version "0.1.3"}
491
+ org.duct-framework/module.logging {:mvn/version "0.6.5"}
492
+ org.duct-framework/module.sql {:mvn/version "0.7.1"}
487
493
org.duct-framework/module.web {:mvn/version "0.11.0"}
488
494
org.xerial/sqlite-jdbc {:mvn/version "3.47.0.0"}
489
495
com.github.seancorfield/next.jdbc {:mvn/version "1.3.955"}}
@@ -515,7 +521,7 @@ Will this minimal configuration work? Let's find out.
515
521
[,shell]
516
522
----
517
523
duct --main
518
- ✓ Initiating system...
524
+ ✗ Initiating system...
519
525
Execution error (ExceptionInfo) at integrant.core/unbound-vars-exception (core.cljc:343).
520
526
Unbound vars: jdbc-url
521
527
@@ -591,7 +597,8 @@ application with Ctrl-C and start a REPL instead.
591
597
----
592
598
$ duct --repl
593
599
✓ Loading REPL environment...
594
- [Repl balance] Type :repl/help for online help info
600
+ • Type :repl/help for REPL help, (go) to initiate the system and (reset)
601
+ to reload modified namespaces and restart the system (hotkey Alt-E).
595
602
user=> (go)
596
603
:duct.server.http.jetty/starting-server {:port 3000}
597
604
:initiated
0 commit comments