Repository: couchdb-documentation Updated Branches: refs/heads/master 939753757 -> a7b3d28d1
fix formatter Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/a7b3d28d Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/a7b3d28d Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/a7b3d28d Branch: refs/heads/master Commit: a7b3d28d1e8c67deb58021437440a43e19e1f0cb Parents: 9397537 Author: Jan Lehnardt <j...@apache.org> Authored: Fri Sep 9 22:26:16 2016 +0200 Committer: Jan Lehnardt <j...@apache.org> Committed: Fri Sep 9 22:26:22 2016 +0200 ---------------------------------------------------------------------- src/cluster/setup.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/a7b3d28d/src/cluster/setup.rst ---------------------------------------------------------------------- diff --git a/src/cluster/setup.rst b/src/cluster/setup.rst index efe0671..ffd9124 100644 --- a/src/cluster/setup.rst +++ b/src/cluster/setup.rst @@ -166,7 +166,7 @@ Before you can add nodes to form a cluster, you have to have them listen on a public ip address and set up an admin user. Do this, once per node: -.. code-block:: shell +.. code-block:: bash curl -X PUT http://127.0.0.1:5984/_node/couchdb@<this-nodes-ip-address>/_config/admins/admin -d '"password"' curl -X PUT http://127.0.0.1:5984/_node/couchdb@<this-nodes-ip-address>/_config/chttpd/bind_address -d '"0.0.0.0"'