1 [comment]: # (Copyright © The Arvados Authors. All rights reserved.)
3 [comment]: # (SPDX-License-Identifier: CC-BY-SA-3.0)
12 Install [redux-devtools-extension](https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd)
15 <code>yarn start</code>
29 ### Build time configuration
30 You can customize project global variables using env variables. Default values are placed in the `.env` file.
34 REACT_APP_ARVADOS_CONFIG_URL=config.json yarn build
37 ### Run time configuration
38 The app will fetch runtime configuration when starting. By default it will try to fetch `/config.json`. You can customize this url using build time configuration.
40 Currently this configuration schema is supported:
44 "VOCABULARY_URL": "string",
45 "FILE_VIEWERS_CONFIG_URL": "string",
53 The `REACT_APP_ARVADOS_API_HOST` environment variable can be used to set the default URL if the run time configuration is unreachable.
56 Local path, or any URL that allows cross-origin requests. See
57 [Vocabulary JSON file example](public/vocabulary-example.json).
59 To use the URL defined in the Arvados cluster configuration, remove the entire `VOCABULARY_URL` entry from the runtime configuration. Found in `/config.json` by default.
61 ### FILE_VIEWERS_CONFIG_URL
62 Local path, or any URL that allows cross-origin requests. See:
64 [File viewers config file example](public/file-viewers-example.json)
66 [File viewers config scheme](src/models/file-viewers-config.ts)
68 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.
72 Arvados is Free Software. See COPYING for information about Arvados Free