The Rancher UI
Go to file
lvuch 549d88c473 lint fix 2020-01-23 15:22:09 -07:00
.storybook revert css path change and correctly import scss files in storybook 2020-01-20 10:59:58 -07:00
.vscode
assets Create the ConfigMap detail view 2020-01-21 10:51:49 -07:00
components Create the ConfigMap detail view 2020-01-21 10:51:49 -07:00
config Create the ConfigMap detail view 2020-01-21 10:51:49 -07:00
detail Create the ConfigMap detail view 2020-01-21 10:51:49 -07:00
edit Add Storybookjs (#285) 2020-01-17 10:09:11 -07:00
layouts add class to missing body elements 2020-01-20 11:20:45 -07:00
middleware i18n, new header 2019-12-27 15:59:56 -07:00
mixins remove injected prop 2020-01-16 17:36:37 -07:00
models Adding the 'node' list and detail views 2020-01-16 11:47:10 -07:00
pages Adding the 'node' list and detail views 2020-01-16 11:47:10 -07:00
plugins user list page 2020-01-15 10:58:51 -07:00
scripts less logging 2019-10-23 18:23:20 -07:00
server
static 193 favicon add 2019-12-05 13:19:37 -07:00
store i18n, new header 2019-12-27 15:59:56 -07:00
stories lint fix 2020-01-23 15:22:09 -07:00
test Lint 2019-11-11 12:29:06 -07:00
utils i18n, new header 2019-12-27 15:59:56 -07:00
.ackrc Remove vue-native-websocket, use socket per norman client, typescript support 2019-12-18 17:20:14 -07:00
.dockerignore Service Networking and HealthCheck 2019-10-23 16:10:18 -07:00
.drone.yml Move triggers to pipeline 2019-10-24 10:38:43 -07:00
.eslintignore Rearrange for building on CDN 2019-10-22 14:43:26 -07:00
.eslintrc.js Reorganize eslint 2019-12-19 10:38:46 -07:00
.gitignore More service columns 2019-11-18 10:10:44 -08:00
.prettierrc Remove vue-native-websocket, use socket per norman client, typescript support 2019-12-18 17:20:14 -07:00
Dockerfile
LICENSE License 2019-12-31 15:21:43 -07:00
README.md License 2019-12-31 15:21:43 -07:00
babel.config.js Remove vue-native-websocket, use socket per norman client, typescript support 2019-12-18 17:20:14 -07:00
jsconfig.json
nuxt.config.js Add Storybookjs (#285) 2020-01-17 10:09:11 -07:00
package.json Add Storybookjs (#285) 2020-01-17 10:09:11 -07:00
tsconfig.json i18n, new header 2019-12-27 15:59:56 -07:00
yarn.lock Add Storybookjs (#285) 2020-01-17 10:09:11 -07:00

README.md

dashboard

Build Status

Rio Dashboard UI. For Rancher UI see rancher/ui.

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at https://localhost:8005
$ API=http://localhost:8005 yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

Multiple GitHub auth configs

Rio auth supports multiple GitHub auth URLs and using the appropriate one based on the Host header that a request comes in on. This is particularly useful for development against a server that already has GitHub setup.

In management.cattle.io.v3.authconfig github, add a hostnameToClientId map of Host header value -> GitHub client ID:

hostnameToClientId:
  "localhost:8005": <your GitHub Client ID for localhost:8005>

And then in the core.v1.secret in namespace cattle-global-data called githubconfig-clientsecret, add GitHub client ID -> base64-encoded client secret to the data section:

data:
  clientsecret: <the normal client secret already configured>
  <your client id>: <your base64-encoded client secret for localhost:8005>

License

Copyright (c) 2014-2020 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.