Skip to content

Storage does not have to look ugly

License

Notifications You must be signed in to change notification settings

longhorn/longhorn-ui

Repository files navigation

Longhorn UI

Build Status

Admin UI for Longhorn Manager

Usage

Prerequisites:

Setup:

  git clone 'https://github.com/longhorn/longhorn-ui'
  cd 'longhorn-ui'
  npm ci

Run development server pointed at some Longhorn Manager API

  LONGHORN_MANAGER_IP="http://longhorn:9500/" npm run dev

If you are using Gnome as desktop environment, then you should use

  DE=generic LONGHORN_MANAGER_IP="http://longhorn:9500/" npm run dev

Compiling for distribution

  npm run build

Build and run a docker image, longhorn UI will listen on localhost:8000

  make
  make LONGHORN_MANAGER_IP=http://longhorn:9500 run

Contribution

Please check the main repo for the contributing guide.

License

Copyright (c) 2014-2019 The Longhorn Authors

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.