diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-08-27 12:41:29 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-27 12:41:29 -0400 |
commit | 8d210c53854e965aec4c0a5964b78ac9dc7c9849 (patch) | |
tree | d03f237c9e073cf22b73a9132f27e4a50dd8e4f5 /configure | |
parent | bce619cbf5a720e409de9f05387c10e86586ba26 (diff) |
configure ports and node names, also correct a few bugs
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -49,6 +49,9 @@ cat > rel/overlay.config << EOF {data_dir, "$DATA"}. {view_dir, "$VIEW"}. {user, "$DBCORE_USER"}. +{node_name, "-name dbcore"}. +{cluster_port, 5984}. +{backend_port, 5986}. EOF cat > install.mk << EOF @@ -64,6 +67,10 @@ 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"}. +{view_dir, "$DIRPATH/rel/tmpdata/dev$i"}. +{node_name, "-name dev$i@127.0.0.1"}. +{cluster_port, `expr 10000 \* $i + 5984`}. +{backend_port, `expr 10000 \* $i + 5986`}. EOF done |