Skip to content

dymart/che-dashboard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 93.4%
  • JavaScript 2.7%
  • CSS 1.6%
  • Shell 0.8%
  • Stylus 0.8%
  • Dockerfile 0.4%
  • HTML 0.3%