The User Interface for The Datacenter Operating System.
The DC/OS UI is used by datacenter operators to administer and manage a datacenter. Developers use DC/OS UI to manage, deploy and debug their applications. The DC/OS UI sits at the top of the DC/OS stack along with the CLI.
- Issue tracker. Use component
dcos-ui
. - Documentation
- Apache License v2
You can choose from two ways of developing this repository.
- Locally
- Docker
Node 8.9.x and NPM 5.6.x (and above) are required. We suggest using nvm or n to keep multiple Node versions on your system.
- Clone this repo:
git clone [email protected]:dcos/dcos-ui.git && cd dcos-ui
- Install dependencies:
npm i
- Add developer files for config overrides:
npm run scaffold
This will create webpack/proxy.dev.js
and src/js/config/Config.dev.ts
. These files aren't tracked by git and provide a place to override proxy and general dcos-ui configuration. Edit webpack/proxy.dev.js
to point to the cluster address.
- Start the development server:
npm start
- Navigate to http://localhost:4200
6. (optional, not suggested) Follow the instructions here to install a local cluster.
To start a development server run
docker-compose up -d
docker-compose exec toolchain /bin/bash # This opens bash inside of the docker container
npm start
DC/OS UI comes bundled with some internal plugins within the /plugins
directory. You can also load more plugins from another directory and they will be loaded into DC/OS UI along with the internal plugins. To set a directory for external plugins run:
npm config set externalplugins ../relative/path/to/plugins/directory
As we ship the UI as a package you can install a nighly version on your cluster using this command:
dcos package repo remove dcos-ui-aws
dcos package repo add --index=0 dcos-ui-aws 'https://universe-converter.mesosphere.com/transform?url=https://dcos-ui-universe.s3.amazonaws.com/oss/dcos-ui/latest/stub-universe-dcos-ui.json'
This allows you to see the newest version of DC/OS UI in the Catalog.
See more at the Testing section of the Contribution Guidelines.
Copyright Mesosphere, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this repository except in compliance with the License.
The contents of this repository are solely licensed under the terms described in the LICENSE file included in this repository.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Authors are listed in Authors.md file.