Skip to content

Instantly share code, notes, and snippets.

@tf0054
Created July 28, 2013 06:22
Show Gist options
  • Save tf0054/6097632 to your computer and use it in GitHub Desktop.
Save tf0054/6097632 to your computer and use it in GitHub Desktop.
Clojure training with nREPL.
#!/bin/bash
# Script to connect to headless nrepl server with leiningen
#
#export HTTP_CLIENT="wget --no-check-certificate -O"
export LEIN_REPL_PORT=35000
export LEIN_REPL_HOST=127.0.0.1
export LEIN_JVM_OPTS=-Duser.home=$HOME
lein repl :connect $LEIN_REPL_HOST:$LEIN_REPL_PORT
#!/bin/bash
# Script to start nrepl server with leiningen
#
#export HTTP_CLIENT="wget --no-check-certificate -O"
export LEIN_REPL_PORT=35000
export LEIN_REPL_HOST=127.0.0.1
export LEIN_JVM_OPTS=-Duser.home=$HOME
lein repl :headless > $HOME/clojure/repl.log 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment