commit | 96237973d5840c8dfb256c4fd05e0b5d048ce261 | [log] [tgz] |
---|---|---|
author | Glynn Bird <glynnbird@apache.org> | Tue Apr 08 16:30:20 2025 +0100 |
committer | Glynn Bird <glynnbird@apache.org> | Tue Apr 08 16:30:20 2025 +0100 |
tree | 3bbcbfe59cf5517314db9c6120cd242529c18b10 | |
parent | 30e335d3562d7f5d4a8983b91204e91f12e81386 [diff] |
Added new reducers to the list of MapReduce reducers in the pull-down list of the view editor. New items added: '_top_1', '_top_10', '_top_100', '_bottom_1', '_bottom_10', '_bottom_100', '_first', '_last' that is three example reducers for the _top_x & _bottom_x reducers, because they can take any number between 1 and 100, and that would be too many for this list. If users wanted to use _top_3, say, they would have to select the CUSTOM reducer and type _top_3 into the text field.
Fauxton is the new Web UI for CouchDB. To get it running in development on your machine. Follow the steps below.
You can use the latest release of Fauxton via npm:
npm install -g fauxton fauxton
See fauxton --help
for extra options.
Please note that node.js and npm is required. Specifically, Fauxton requires at least Node 6 and npm 3.
git clone https://github.com/YOUR-USERNAME/couchdb-fauxton.git
cd couchdb-fauxton
git remote add upstream https://github.com/apache/couchdb-fauxton.git
git fetch upstream
git branch --set-upstream-to=upstream/main main
npm install
npm run docker:up
to start a Docker container running CouchDB with user tester
and password testerpass
.NOTE: Before you run Fauxton, don't forget to start CouchDB!
Using the dev server is the easiest way to use Fauxton, especially when developing for it. In the cloned repo folder, type:
npm run dev
You should be able to access Fauxton at http://localhost:8000
Follow the “Setting up Fauxton” section above, then edit the settings.json
variable root where the document will live, e.g. /_utils/
. Then type:
npm run couchdb
This will install the latest version of Fauxton into /share/www/
To deploy to your local CouchDB instance:
grunt couchapp_deploy
During a release build we are creating a folder called dist/tmp-out
. It contains all files that are just intermediate results for the final release artifact. Once everything is finished the files are copied from tmp-out
to their final destination, dist/release
where they are part of the deployable release artifact.
# Development mode, non minified files npm run couchdebug # Or fully compiled install npm run couchdb
Check out the following pages for a lot more information about Fauxton:
-- The Fauxton Team