Giter VIP home page Giter VIP logo

sample_ui's Introduction

sample_ui

Kytos sample_ui NApp that's a hello world to show how the ui folder should be structured.

How to install

  • Make sure kytos is installed
for repo in python-openflow kytos-utils kytos; do
  git clone https://github.com/kytos-ng/${repo}
done

for repo in python-openflow kytos-utils kytos; do
  cd ${repo}
  python3 setup.py develop
  cd ..
done
  • Install this NApp:
git clone https://github.com/viniarck/sample_ui.git
cd sample_ui/
python setup.py develop

If you install it successfully, after running python setup.py develop you should see something similar to this output:

running develop
running egg_info
Installing dependencies...
You should consider upgrading via the '/tmp/kytos/.direnv/python-3.9.4/bin/python -m pip
creating kytos_sample_ui.egg-info
writing kytos_sample_ui.egg-info/PKG-INFO
writing dependency_links to kytos_sample_ui.egg-info/dependency_links.txt
writing requirements to kytos_sample_ui.egg-info/requires.txt
running build_ext
Creating /tmp/kytos/.direnv/python-3.9.4/lib/python3.9/site-packages/kytos-sample-ui.egg
Adding kytos-sample-ui 1.0.0 to easy-install.pth file
...
...
Finished processing dependencies for kytos-sample-ui==1.0.0
  • Run kytos:
kytosd -f
  • Enable the this NApp:
kytos napps enable kytos/sample_ui
  • Restart kytos and run it again.

Notice that sample_ui was correctly loaded

2022-01-31 18:44:03,853 - INFO [kytos.core.controller] (MainThread) Loading NApp kytos/sample_ui
2022-01-31 18:44:03,892 - INFO [kytos.napps.kytos/sample_ui] (MainThread) sample_ui napp loaded
  • Open this localhost URL on your browser:

http://localhost:8181/

Notice the sample_ui Napp is loaded:

img

sample_ui's People

Contributors

viniarck avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.