Skip to content

Commit

Permalink
Add explanation on how to install the library more permanently
Browse files Browse the repository at this point in the history
  • Loading branch information
Russell Smith committed Apr 14, 2012
1 parent e484928 commit 021b105
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Expand Up @@ -12,9 +12,20 @@ Download and compile the application
$ cd mongodb
$ make

Then install them in your standard Erlang library location or include them in your path on startup
Then you have two choices, either install them in your standard Erlang library location. To find the standard location, perform the following in erl:

$ erl
1> code:lib_dir().
"/usr/local/Cellar/erlang/R15B/lib/erlang/lib"

To copy the libraries:

$ mkdir <path from above>/mongodb-master
$ cp -R deps ebin <path from above>/mongodb-master/


Or alternatively you can include in your path on startup:

$ erl -pa mongodb/ebin mongodb/deps/*/ebin
$ erl -pa ebin deps/*/ebin

### Starting
Expand Down

0 comments on commit 021b105

Please sign in to comment.