commit | a22d5b5b388cf00f3eb61cd5aeab632ac5d3f96d | [log] [tgz] |
---|---|---|
author | Antonio Maranhao <30349380+Antonio-Maranhao@users.noreply.github.com> | Tue Nov 02 09:25:10 2021 -0400 |
committer | GitHub <noreply@github.com> | Tue Nov 02 09:25:10 2021 -0400 |
tree | fde437d91d23f89f8b4a8ac5e6318dd83056c7cc | |
parent | ae42fd2ff60fd3bb4e2a33645a6848cb338f4325 [diff] |
Update some dependencies to their latest version (#1326) NPM packages updated: nano v8 -> v9 base-64 0.1 -> v1 uuid v3 -> v8 clipboard v1 -> v2 whatwg-fetch v2 -> v3 yargs v16 -> v17 fs-extra v2 -> v10
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