Skip to content

Commit cb061b0

Browse files
committed
Update example dependencies
1 parent 2187b7d commit cb061b0

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

index.adoc

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@ content:
6363

6464
[,clojure]
6565
----
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"}}
6768
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
6869
----
6970

@@ -133,7 +134,7 @@ If we try running Duct, it will complain about a missing namespace.
133134
[,shell]
134135
----
135136
$ duct --main
136-
Initiating system...
137+
Initiating system...
137138
Execution error (IllegalArgumentException) at integrant.core/eval1191$fn (core.cljc:490).
138139
No such namespace: tutorial.print
139140
----
@@ -184,7 +185,8 @@ The REPL is an interactive development environment.
184185
----
185186
$ duct --repl
186187
✓ 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).
188190
user=>
189191
----
190192

@@ -210,6 +212,8 @@ Hello World
210212
:resumed
211213
----
212214

215+
You can also use the Alt-E hotkey instead of typing `(reset)`.
216+
213217
The configuration defined by `duct.edn` can be accessed with `config`,
214218
and the running system can be accessed with `system`.
215219

@@ -231,8 +235,9 @@ We'll first add the dependency to `deps.edn`.
231235

232236
[,clojure]
233237
----
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"}}
236241
:aliases {:duct {:main-opts ["-m" "duct.main"]}}}
237242
----
238243

@@ -481,9 +486,10 @@ https://github.com/seancorfield/next-jdbc[next.jdbc].
481486
.deps.edn
482487
[,clojure]
483488
----
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"}
487493
org.duct-framework/module.web {:mvn/version "0.11.0"}
488494
org.xerial/sqlite-jdbc {:mvn/version "3.47.0.0"}
489495
com.github.seancorfield/next.jdbc {:mvn/version "1.3.955"}}
@@ -515,7 +521,7 @@ Will this minimal configuration work? Let's find out.
515521
[,shell]
516522
----
517523
duct --main
518-
Initiating system...
524+
Initiating system...
519525
Execution error (ExceptionInfo) at integrant.core/unbound-vars-exception (core.cljc:343).
520526
Unbound vars: jdbc-url
521527
@@ -591,7 +597,8 @@ application with Ctrl-C and start a REPL instead.
591597
----
592598
$ duct --repl
593599
✓ 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).
595602
user=> (go)
596603
:duct.server.http.jetty/starting-server {:port 3000}
597604
:initiated

0 commit comments

Comments
 (0)