Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

* force update token on before workspace start

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* fixup! force update token on before workspace start
05ddb0a

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Mar 10, 2021

README.md

CI

About Eclipse Che

Eclipse Che is a next generation Eclipse IDE. This repository is licensed under the Eclipse Public License 2.0. Visit Eclipse Che's Web site for feature information or the main Che assembly repository for a description of all participating repositories.

Eclipse Che Dashboard

Requirements

  • Node.js v12 and later.
  • yarn v1.20.0 or higher.

Note: Below you can find installation instructions

Quick start

docker build . -f apache.Dockerfile -t quay.io/che-incubator/che-dashboard-next:next

Running

Install all dependencies:

yarn

and start dev-server:

yarn start

The development server serves the project on http://localhost:3000. By default it proxies all API requests to che.openshift.io. You can change this behavior providing your own proxy target url and port using the following command as an example:

yarn start --env.server=https://che-che.192.168.99.100.nip.io  --port=3333

For better debugging experience you need to have React and Redux Developer Tools installed in your browser.

License tool

It uses dash-licenses to check all dependencies (including transitive) to be known to Eclipse IPZilla or ClearlyDefined. It generates .deps/dev.md and .deps/prod.md that contains such information.

Firstly, build the license-tool dockerfile:

yarn licenseCheck:prepare

and then run the license-tool:

yarn licenseCheck:run

Branding

Default branding data for the User Dashboard is located in branding.constant.ts#BRANDING_DEFAULT. It can be overridden without re-building the project in product.json file which should contain only values that should overwrite default ones.

Configurability

Field "configuration.cheCliTool" should contain the name of a CLI tool that is recommended to be used to work with Che Server from the terminal. It's the "chectl" by default.

Example:

{
  "configuration": {
    "cheCliTool": "chectl"
  }
}

Field "header.warning" allows you to display a message at the top of the dashboard. You can use HTML to configure the field but only the '<a>' tag and 'href', 'target' properties are accepted. It's undefined by default.

Example:

{
  "header": {
    "warning": "Server upgrades are happening at 1:00 PM. To learn more visit <a href='foo' target='_blank'>foo</a>"
  }
}

License

Che is open sourced under the Eclipse Public License 2.0.