1 [comment]: # (Copyright © The Arvados Authors. All rights reserved.)
3 [comment]: # (SPDX-License-Identifier: CC-BY-SA-3.0)
13 Install [redux-devtools-extension](https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd)
15 ## Start project for development
20 ## Start project for development inside Docker container
23 make workbench2-build-image
24 # (create public/config.json, see "Run time configuration" below)
25 docker run -ti -v$PWD:$PWD -p 3000:3000 -w$PWD workbench2-build /bin/bash
26 # (inside docker container)
36 ## Run end-to-end tests
39 make integration-tests
42 ## Run end-to-end tests in a Docker container
45 make integration-tests-in-docker
48 ## Run tests interactively in container
52 docker run -ti -v$PWD:$PWD -v$(realpath ../..):/usr/src/arvados -w$PWD --env="DISPLAY" --volume="/tmp/.X11-unix:/tmp/.X11-unix:rw" workbench2-build /bin/bash
54 yarn run cypress install
55 tools/run-integration-tests.sh -i -a /usr/src/arvados
68 ## Build time configuration
69 You can customize project global variables using env variables. Default values are placed in the `.env` file.
73 REACT_APP_ARVADOS_CONFIG_URL=config.json yarn build
76 ## Run time configuration
77 The app will fetch runtime configuration when starting. By default it will try to fetch `/config.json`. In development mode, this can be found in the `public` directory.
78 You can customize this url using build time configuration.
80 Currently this configuration schema is supported:
84 "FILE_VIEWERS_CONFIG_URL": "string",
92 The `REACT_APP_ARVADOS_API_HOST` environment variable can be used to set the default URL if the run time configuration is unreachable.
94 ## FILE_VIEWERS_CONFIG_URL
95 Local path, or any URL that allows cross-origin requests. See:
97 [File viewers config file example](public/file-viewers-example.json)
99 [File viewers config scheme](src/models/file-viewers-config.ts)
101 To use the URL defined in the Arvados cluster configuration, remove the entire `FILE_VIEWERS_CONFIG_URL` entry from the runtime configuration. Found in `/config.json` by default.
105 Workbench supports plugins to add new functionality to the user
106 interface. For information about installing plugins, the provided
107 example plugins, see [src/plugins/README.md](src/plugins/README.md).
112 Arvados is Free Software. See COPYING for information about Arvados Free