Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

kytos/ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WARNING: As previously announced on our communication channels, the Kytos project will enter the "shutdown" phase on May 31, 2021. After this date, only critical patches (security and core bug fixes) will be accepted, and the project will be in "critical-only" mode for another six months (until November 30, 2021). For more information visit the FAQ at https://kytos.io/faq. We'll have eternal gratitude to the entire community of developers and users that made the project so far.

Kytos/UI

This is the web user interface for the Kytos project. For more information on how to use it, please refer to the UI documentation.

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

How to create a new release

To create a new release file you need to run the command below and during the procedure to create a new release on github you need append the file latest.zip.

# build for production and compress the file as latest.zip
npm run build

After build and upload the file in the github, the Kytos has an endpoint to see the latest release version and download the latest.zip file from github and unpack it in the kytos/web-ui folder.

This update command can be trigger using the kytos-utils command displayed below. If no version is specified the latest version of kytos/ui on github will be used.

# update the kytos web-ui to latest version
$ kytos web update

# update the kytos web-ui to a specific version
$ kytos web update <version>

For detailed explanation on how things work, consult the docs for vue-loader.