-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# klojure | ||
|
||
A blueprint bundle for deploying a | ||
[nrepl](https://nrepl.org/nrepl/0.6.0/index.html) server to a | ||
[karaf](https://karaf.apache.org/) container. | ||
|
||
## building | ||
|
||
To build the klojure jar, do: | ||
|
||
mvn clean install | ||
|
||
## installing | ||
|
||
To install the jar, do: | ||
|
||
cp target/klojure-0.0.1-SNAPSHOT.jar $DDF_HOME/deploy | ||
|
||
## running a repl | ||
|
||
To run a repl in the karaf console, do: | ||
|
||
clj:repl | ||
|
||
To connect to the nrepl server with [lein](https://leiningen.org/), do: | ||
|
||
lein repl :connect 7888 | ||
|
||
The nrepl server is also available for clients such as | ||
[cursive](https://cursive-ide.com/) and | ||
[vim-fireplace](https://github.com/tpope/vim-fireplace). |