erlang module for interfacing with nautilus
To build rebar you will need a working installation of Erlang R13B03 (or later).
Should you want to clone the rebar repository, you will also require git.
$ git clone git://github.com/rebar/rebar.git
$ cd rebar
$ ./bootstrap
Recompile: src/getopt
...
Recompile: src/rebar_utils
==> rebar (compile)
Congratulations! You now have a self-contained script called "rebar" in
your current working directory. Place this script anywhere in your path
and you can use rebar to build OTP-compliant apps.
create a directory for downloaded erlang modules, then in that directory
$ git clone git://github.com/bakkemo/naututil.git
$ rebar get-deps
$ rebar compile
ignore warnings from the get-deps command
set the nautilus authentication endpoint:
$ export NAUT_AUTH_URI=http://79eebd3a.ngrok.com/
tell erlang where to find these new extra modules
$ export ERL_LIBS=/path/to/created/lib/directory:/path/to/created/lib/directory/naututil/deps
run erlang, an in the erlang shell type:
1> naututil:start().