Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-Nov-2021 | - | ||||
.github/ | H | 03-Nov-2021 | - | 76 | 23 | |
__mocks__/ | H | 03-May-2022 | - | |||
app/ | H | 03-May-2022 | - | 4,756 | 4,093 | |
assets/ | H | 03-Nov-2021 | - | 12,969 | 10,566 | |
bin/ | H | 03-May-2022 | - | 308 | 209 | |
codemods/ | H | 03-Nov-2021 | - | 14 | 8 | |
docker/ | H | 03-Nov-2021 | - | 32 | 30 | |
tasks/ | H | 03-May-2022 | - | |||
test/ | H | 03-May-2022 | - | 218 | 180 | |
.babelrc | H A D | 03-Nov-2021 | 284 | 9 | 8 | |
.env | H A D | 03-Nov-2021 | 242 | 6 | 4 | |
.eslintignore | H A D | 03-Nov-2021 | 170 | 12 | 9 | |
.eslintrc | H A D | 03-Nov-2021 | 2.2 KiB | 95 | 86 | |
.gitignore | H A D | 03-Nov-2021 | 919 | 49 | 47 | |
.npmignore | H A D | 03-Nov-2021 | 49 | 7 | 6 | |
.travis.yml | H A D | 03-Nov-2021 | 818 | 36 | 34 | |
CONTRIBUTING.md | H A D | 03-Nov-2021 | 2.7 KiB | 65 | 42 | |
LICENSE | H A D | 03-Nov-2021 | 10.9 KiB | 204 | 169 | |
code-layout.md | H A D | 03-Nov-2021 | 4.9 KiB | 83 | 53 | |
extensions.md | H A D | 03-Nov-2021 | 469 | 16 | 9 | |
i18n.json.default.json | H A D | 03-Nov-2021 | 2.1 KiB | 28 | 27 | |
jest-config.json | H A D | 03-Nov-2021 | 484 | 17 | 12 | |
package-lock.json | H A D | 03-Nov-2021 | 630.4 KiB | 17,008 | 17,007 | |
package.json | H A D | 03-Nov-2021 | 5.1 KiB | 153 | 152 | |
readme.md | H A D | 03-Nov-2021 | 3.2 KiB | 103 | 62 | |
settings.json.default.json | H A D | 03-Nov-2021 | 2.5 KiB | 90 | 87 | |
styleguide.md | H A D | 03-Nov-2021 | 7.2 KiB | 262 | 193 | |
tests.md | H A D | 03-Nov-2021 | 2.4 KiB | 81 | 48 |
readme.md
1[![Build Status](https://travis-ci.org/apache/couchdb-fauxton.svg?branch=main)](https://travis-ci.org/apache/couchdb-fauxton) 2 3# Fauxton 4 5 6Fauxton is the new Web UI for CouchDB. To get it running in development on your machine. Follow the steps below. 7 8## Install as standalone server via npm 9 10You can use the latest release of Fauxton via npm: 11 12 npm install -g fauxton 13 fauxton 14 15See `fauxton --help` for extra options. 16 17 18## Setting up Fauxton 19 20Please note that [node.js](http://nodejs.org/) and npm is required. Specifically, Fauxton requires at least Node 6 and npm 3. 21 221. Fork this repo (see [GitHub help](https://help.github.com/articles/fork-a-repo/) for details) 231. Clone your fork: `git clone https://github.com/YOUR-USERNAME/couchdb-fauxton.git` 241. Go to your cloned copy: `cd couchdb-fauxton` 251. Set up the upstream repo: 26 * `git remote add upstream https://github.com/apache/couchdb-fauxton.git` 27 * `git fetch upstream` 28 * `git branch --set-upstream-to=upstream/main main` 291. Download all dependencies: `npm install` 301. Make sure you have CouchDB installed. 31 - Option 1 (**recommended**): Use `npm run docker:up` to start a Docker container running CouchDB with user `tester` and password `testerpass`. 32 - You need to have [Docker](https://docs.docker.com/engine/installation/) installed to use this option. 33 - Option 2: Follow instructions 34[found here](http://couchdb.readthedocs.org/en/latest/install/index.html) 35 36 37## Running Fauxton 38 39**NOTE: Before you run Fauxton, don't forget to start CouchDB!** 40 41 42### The Dev Server 43 44Using the dev server is the easiest way to use Fauxton, especially when developing for it. In the cloned repo folder, 45type: 46 47``` 48npm run dev 49``` 50 51You should be able to access Fauxton at `http://localhost:8000` 52 53 54### Preparing a Fauxton Release 55 56Follow the "Setting up Fauxton" section above, then edit the `settings.json` variable root where the document will live, 57e.g. `/_utils/`. Then type: 58 59``` 60npm run couchdb 61``` 62This will install the latest version of Fauxton into `/share/www/` 63 64 65### To Deploy Fauxton 66 67To deploy to your local [CouchDB instance](http://localhost:5984/fauxton/_design/fauxton/index.html): 68 69 grunt couchapp_deploy 70 71### Build pipeline overview 72 73During a release build we are creating a folder called `dist/tmp-out`. 74It contains all files that are just intermediate results for the final 75release artifact. Once everything is finished the files are copied from 76`tmp-out` to their final destination, `dist/release` where they are 77part of the deployable release artifact. 78 79### (Optional) To avoid a npm global install 80 # Development mode, non minified files 81 npm run couchdebug 82 83 # Or fully compiled install 84 npm run couchdb 85 86 87 88## More information 89 90Check out the following pages for a lot more information about Fauxton: 91 92- [The Fauxton Code Layout](https://github.com/apache/couchdb-fauxton/blob/main/code-layout.md) 93- [Style Guide](https://github.com/apache/couchdb-fauxton/blob/main/styleguide.md) 94- [Testing Fauxton](https://github.com/apache/couchdb-fauxton/blob/main/tests.md) 95- [Extensions](https://github.com/apache/couchdb-fauxton/blob/main/extensions.md) 96- [How to contribute](https://github.com/apache/couchdb-fauxton/blob/main/CONTRIBUTING.md) 97 98 99------ 100 101 102-- The Fauxton Team 103