diff --git a/README.md b/README.md index 79a4897..84ce177 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,9 @@ This is the admin interface for Chicago Boss, which can be configured as a stand Installation as a standalone server ----------------------------------- -This isn't very useful, but it's easy. Just type: +This isn't very useful, but it's easy. First make sure ChicagoBoss is built in the parent directory; otherwise modify start.sh and start-dev.sh to point to the ChicagoBoss ebin/ directory on your machine. + +Then: make ./start.sh diff --git a/start-dev.sh b/start-dev.sh index f195eab..24f721f 100755 --- a/start-dev.sh +++ b/start-dev.sh @@ -1,8 +1,8 @@ #!/bin/sh cd `dirname $0` exec erl -pa $PWD/ebin \ - -pa /Users/emiller/src/ChicagoBoss/ebin \ - -pa /Users/emiller/src/ChicagoBoss/deps/*/ebin \ + -pa ../ChicagoBoss/ebin \ + -pa ../ChicagoBoss/deps/*/ebin \ -boss developing_app cb_admin \ -boot start_sasl -config boss -s reloader -s boss \ -sname wildbill diff --git a/start.sh b/start.sh index 363c840..66f4a70 100755 --- a/start.sh +++ b/start.sh @@ -7,6 +7,8 @@ cd `dirname $0` # If your server is running in an untrusted environment, you should probably # change the cookie too. (All nodes in a cluster must have the same cookie.) -exec erl -pa $PWD/ebin -pa /Users/emiller/src/ChicagoBoss/ebin -pa /Users/emiller/src/ChicagoBoss/deps/*/ebin \ +exec erl -pa $PWD/ebin \ + -pa ../ChicagoBoss/ebin + -pa ../ChicagoBoss/deps/*/ebin \ -boot start_sasl -config boss -s boss -setcookie abc123 -detached \ -sname john