You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by wo...@apache.org on 2018/07/10 14:36:04 UTC

[couchdb-documentation] branch remove-nodejs-query-server created (now 6e68f02)

This is an automated email from the ASF dual-hosted git repository.

wohali pushed a change to branch remove-nodejs-query-server
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git.


      at 6e68f02  Drop unsupported node query server, plugins from 2.x

This branch includes the following new commits:

     new 6e68f02  Drop unsupported node query server, plugins from 2.x

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb-documentation] 01/01: Drop unsupported node query server, plugins from 2.x

Posted by wo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

wohali pushed a commit to branch remove-nodejs-query-server
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git

commit 6e68f022c68fe9fbde230d0907ff98ffaceb9d24
Author: Joan Touzet <jo...@atypical.net>
AuthorDate: Tue Jul 10 10:35:53 2018 -0400

    Drop unsupported node query server, plugins from 2.x
---
 src/experimental.rst | 62 +++++-----------------------------------------------
 1 file changed, 5 insertions(+), 57 deletions(-)

diff --git a/src/experimental.rst b/src/experimental.rst
index a3980b3..c5dc4d4 100644
--- a/src/experimental.rst
+++ b/src/experimental.rst
@@ -18,69 +18,17 @@ Experimental Features
 
 This is a list of experimental features in CouchDB. They are included in
 a release because the development team is requesting feedback from the
-larger developer community. As such, please play around with these features
-and send us feedback, thanks!
+larger developer community. As such, please play around with these
+features and send us feedback, thanks!
 
 Use at your own risk! Do not rely on these features for critical applications.
 
-NodeJS Query Server
-===================
-
-The NodeJS Query Server is an alternative runtime environment for
-the default JavaScript Query Server that runs on top of Node.JS and
-not SpiderMonkey like the default Query Server.
-
-Setup
------
-
-You will need to install Node.JS version 0.10.0 or later. See `Node.JS
-Downloads <http://nodejs.org/download/>`_ for options.
-
-1. Install the `couchjs-node` binary. Either from the CouchDB sources::
-
-    cd src/couchjs-node
-    npm link
-
-Or via NPM::
-
-    npm install -g couchjs
-
-.. note::
-    **NPM in non-standard locations**
-    If your Node.JS installation doesn’t store binaries in `/usr/local/bin`
-    you will need to adjust CouchDB’s configuration. Add this to your
-    `local.ini` file:
-
-    .. code-block:: ini
-
-        [query_servers]
-        nodejs = /path/to/couchjs-node /path/to/couchdb/share/server/main.js
-
-    And then restart your CouchDB instance.
-
-2. Done. Now you can create design documents with the `language` parameter
-set to `nodejs` and all JavaScript functions in this design document will
-be processed by the Node.JS query server.
-
-Enjoy!
-
-Differences from the SpiderMonkey Query Server
-----------------------------------------------
-
-V8 and SpiderMonkey roughly behave similar, but there might be engine- specific
-differences that make or break a JavaScript function in one or the other server.
-
-Plugins
-=======
-
-See `src/couch_plugins/README.md`.
-
 Content-Security-Policy (CSP) Header Support for /_utils (Fauxton)
 ==================================================================
 
-This will just work with Fauxton, and not Futon. You can enable it
-in your config: you can enable the feature in general and change
-the default header that is sent for everything in /_utils.
+This will just work with Fauxton. You can enable it in your config: you
+can enable the feature in general and change the default header that is
+sent for everything in /_utils.
 
     .. code-block:: ini