HaishiBai / deck

New and improved management UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spinnaker UI

Prerequisites

Make sure that node and npm are installed on your system (download). The minimum versions for each are listed in package.json.

Quick Start

Run the following commands (in the deck directory) to get all dependencies installed in deck and to start the server:

  • npm install

  • npm start

The app will start up on localhost:9000.

Environment variables

Environment variables can be used to configure application behavior. The following lists those variables and their possible values:

  • AUTH enable/disable authentication (default is disabled, enable by setting AUTH=enabled).

  • CANARY enable/disable canary (default is enabled, disable by setting CANARY=disabled).

The following external resources can be specified with environment variables:

  • FEEDBACK_URL overrides the default feedback posting url.

  • API_HOST overrides the default Spinnaker API host.

For example, API_HOST=spinnaker.prod.netflix.net npm start will run service with spinnaker.prod.netflix.net as the API host.

Testing

To run the tests within the application, run npm test.

Developing things locally? You will want to run gate locally (which runs on port 8084) as well. It’s the gateway to clouddriver. Then run deck like this:

API_HOST=localhost:8084 PROTOCOL=http npm start

Building & Deploying

To build the application, run npm run build. The built application lives in dist/.

About

New and improved management UI

License:Apache License 2.0


Languages

Language:JavaScript 67.4%Language:HTML 28.5%Language:CSS 3.2%Language:ApacheConf 0.8%Language:Python 0.1%