Permalink
Browse files

Adds installatioin instructions

  • Loading branch information...
1 parent ae5c3f1 commit b32f58ae9daba7147e8e560ddf417eeba8a4d9b2 @videlalvaro committed Aug 9, 2010
Showing with 11 additions and 3 deletions.
  1. +11 −3 README.md
View
14 README.md
@@ -12,7 +12,9 @@ First launch erlang with the following command:
erl -sname a
-Then at the Clojure repl:
+Start the Clojure REPL
+
+Then at the Clojure REPL:
(use 'closerl.core)
@@ -32,12 +34,18 @@ And we call receive to fetch the reply:
(otp-receive conn)
-For the above code to work you will need the JInterface .jar in your java path.
-
## Installation ##
+Use mvn to install JInterface. Adapt the following command to suit your specific configuration
+
mvn install:install-file -DgroupId=com.ericsson.otp -DartifactId=erlang -Dversion=1.5.3 -Dpackaging=jar -Dfile=/usr/local/lib/erlang/lib/jinterface-1.5.3/priv/OtpErlang.jar
+Obtain the *closerl* source code
+
+ git clone git@github.com:videlalvaro/closerl.git
+ cd closerl
+ lein deps
+
## License ##
MIT - See LICENSE

0 comments on commit b32f58a

Please sign in to comment.