/ui

Rancher UI

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Rancher UI

Perhaps you like managing cattle.

Build Status

Usage

Prerequisites:

If you're on a Mac and use Homebrew, you can follow these steps:

  brew install node watchman
  npm install -g bower

Setup:

  git clone 'https://github.com/rancherio/ui'
  cd 'ui'
  git submodule init
  git submodule update
  npm install
  bower install

Run development server:

  npm start

Connect to UI at http://localhost:8000/ . The server automatically picks up file changes, restarts itself, and reloads the web browser.

Run development server pointed at another instance of the Rancher API

  RANCHER_ENDPOINT="http://rancher:8080/" npm start

Compiling for distribution

The built-in cattle server expects to be run from /static/ and hosted on a CDN. To generate the CDN files, run:

  ./scripts/build-static

Running Tests

  npm install -g ember-cli
  • ember test
  • ember test
  • ember test --server

Useful links

License

Copyright (c) 2014 Rancher Labs, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

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.