|author||Ben Keen <firstname.lastname@example.org>||Mon Dec 21 13:44:22 2015 -0800|
|committer||Ben Keen <email@example.com>||Mon Dec 21 13:44:22 2015 -0800|
Configurable 'Generated: [date]' comments A while back we added in a comment to the foot of the generated index.html file containing a "Generated: [data]" text. This has proven to be extremely useful. This PR just expands on it a little to make the label itself configurable. So for environments using different bundles of the Fauxton code, it can output the build target name, plus the generation date, e.g. <!-- Env X. Generated: [date] -->
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
fauxton --help for extra options.
Please note that a recent installation of node.js and npm is required.
https://github.com/apache/couchdb-fauxton.gitand make sure you have a cloned local copy
git remote add git-repo https://github.com/apache/couchdb-fauxton.git
git remote add upstream http://git-wip-us.apache.org/repos/asf/couchdb-fauxton.git
couchdb-fauxton) and type
npm installto download all dependencies
grunt-cli(grunt command line interface)
In case you don't have the Grunt command line interface installed, run the following command:
npm install -g grunt-cli
If you run into a permissions problem, run that last command as an administrator:
sudo npm install -g grunt-cli
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:
Wait until you see the “Fauxton” ascii art on your command line, then you should be able to access Fauxton at
Follow the “Setting up Fauxton” section above, then edit the
settings.json variable root where the document will live, e.g.
/_utils/. Then type:
This will install the latest version of Fauxton into
To deploy to your local CouchDB instance:
# 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