diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-08-27 11:32:06 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-27 11:32:06 -0400 |
commit | f0d05161f569763dc8d00e5149009e6e92f2cebb (patch) | |
tree | 22dafeee3d53f81e5b53242e93c31fdb43c717bb /configure | |
parent | d8f02331a097a7e8bca6ddd27fc52a02fdc19221 (diff) |
'make dev' generates rel/dev[123]
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -6,6 +6,8 @@ function quit { PREFIX="/opt/dbcore" DBCORE_USER=`whoami` +ABSPATH="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")" +DIRPATH=`dirname "$ABSPATH"` while [ $# -gt 0 ] do @@ -57,4 +59,12 @@ view_dir = $VIEW user = $DBCORE_USER EOF +# finally, a few config files for local development nodes +for i in 1 2 3; do +cat > rel/dev$i.config << EOF +{prefix, "$DIRPATH/rel/dev$i"}. +{data_dir, "$DIRPATH/rel/tmpdata/dev$i"}. +EOF +done + cat rel/overlay.config |