From 7c8a7f61f0b6b55eb81fa26946c7bbbe66f6e13f Mon Sep 17 00:00:00 2001 From: lamar-frankie Date: Wed, 18 Oct 2017 10:33:21 -0400 Subject: [PATCH 1/4] couchdb: add page --- pages/common/couchdb.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pages/common/couchdb.md diff --git a/pages/common/couchdb.md b/pages/common/couchdb.md new file mode 100644 index 000000000..139cc5879 --- /dev/null +++ b/pages/common/couchdb.md @@ -0,0 +1,36 @@ +# couchdb + +> This is the command line interface for Apache CouchDB database server. + +- Add a configuration file to chain: + +`couchdb -a {{path/to/file}}` + +- Add a configuration directory to chain: + +`couchdb -A {{path/to/file}}` + +- Enter the interactive Erlang shell: + +`couchdb -i` + +- Redirect output from couchdb.stdout to file: + +`couchdb -o {{path/to/file}}` + +- Redirect errors from couchdb.stderr to file: + +`couchdb -e {{path/to/file}}` + +- Display the status of the background process: + +`couchdb -s` + +- Kill the background process (Note: It will respawn if needed): + +`couchdb -k` + +- Shutdown the background process: + +`couchdb -d` + From 42ee7161377a5e86e69370150a2a1e2e335778cd Mon Sep 17 00:00:00 2001 From: lamar-frankie Date: Wed, 18 Oct 2017 10:48:27 -0400 Subject: [PATCH 2/4] couchdb: fix typo --- pages/common/couchdb.md | 1 - 1 file changed, 1 deletion(-) diff --git a/pages/common/couchdb.md b/pages/common/couchdb.md index 139cc5879..41d46a8ab 100644 --- a/pages/common/couchdb.md +++ b/pages/common/couchdb.md @@ -33,4 +33,3 @@ - Shutdown the background process: `couchdb -d` - From cb3fbc57ce114e59e0f8cc25507ee64c406ec29f Mon Sep 17 00:00:00 2001 From: lamar-frankie Date: Thu, 19 Oct 2017 08:34:13 -0400 Subject: [PATCH 3/4] couchdb: fix typo --- pages/common/couchdb.md | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/pages/common/couchdb.md b/pages/common/couchdb.md index 41d46a8ab..1095889df 100644 --- a/pages/common/couchdb.md +++ b/pages/common/couchdb.md @@ -2,29 +2,17 @@ > This is the command line interface for Apache CouchDB database server. -- Add a configuration file to chain: +- Start couchdb: -`couchdb -a {{path/to/file}}` +`couchdb` -- Add a configuration directory to chain: - -`couchdb -A {{path/to/file}}` - -- Enter the interactive Erlang shell: +- Start couchdb interactive shell: `couchdb -i` -- Redirect output from couchdb.stdout to file: +- Start couchdb as a background process: -`couchdb -o {{path/to/file}}` - -- Redirect errors from couchdb.stderr to file: - -`couchdb -e {{path/to/file}}` - -- Display the status of the background process: - -`couchdb -s` +`couchdb -b` - Kill the background process (Note: It will respawn if needed): From 2290f6a0e354a55444e75bcc3fcf058ce342383a Mon Sep 17 00:00:00 2001 From: Agniva De Sarker Date: Fri, 20 Oct 2017 11:35:15 +0530 Subject: [PATCH 4/4] couchdb: simplify description --- pages/common/couchdb.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/couchdb.md b/pages/common/couchdb.md index 1095889df..d61bc3c1d 100644 --- a/pages/common/couchdb.md +++ b/pages/common/couchdb.md @@ -1,6 +1,6 @@ # couchdb -> This is the command line interface for Apache CouchDB database server. +> Command line interface for Apache CouchDB database server. - Start couchdb: