Skip to content

Commit

Permalink
Add note about creating src directory
Browse files Browse the repository at this point in the history
  • Loading branch information
weavejester committed Nov 29, 2024
1 parent df8047b commit fb1cee7
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,19 @@ we have no routes defined. The error page will be in plaintext, because
we haven't specified what _features_ we want for our web application.

We'll fix both these issues, but before we do we should terminate the
application with Ctrl-C and start a REPL instead.
application with Ctrl-C and make a `src` directory.

[,shell]
----
mkdir src
----

IMPORTANT: The source directory must be created before running the REPL.
This is because Clojure looks for source files in the Java classpath,
and directories that don't exist yet will be omitted from this.

Then we'll start a REPL. We'll keep this running while we develop the
application.

[,shell]
----
Expand Down

0 comments on commit fb1cee7

Please sign in to comment.