GithubHelp home page GithubHelp logo

contiv-ui's Introduction

Setup contiv-ui with contiv netmaster

Step 1: Clone the netplugin repository and bring up the VMs

$ git clone https://github.com/contiv/netplugin.git
$ export GOPATH="<Your gopath>"
$ cd netplugin

Modify Vagrantfile to forward etcd port:

node.vm.network "forwarded_port", guest: 2379, host:2379
$ make demo

Step 2: Clone contiv-ui

$ git clone https://github.com/contiv/contiv-ui.git

Step 3: Deploy Contiv UI as a CCN Proxy container.

  • Checkout 'contiv/ccn_proxy'
    • Inside the 'ccn_proxy' checkout:
	git pull <-- if you need to refresh the checkout
	make
	make generate-certificate <-- if this is a new checkout
  • Also, set an env var pointing to the local UI src code:
	export UI_DIR='/Users/john/Dev/gocode/src/github.com/contiv/contiv-ui/app'
  • Load the cnn_proxy as a container. Note where in this CLI there is a reference to the data store and netmaster:
docker run -it \
-v $PWD/local_certs:/local_certs:ro \
-v $UI_DIR:/ui:ro \
-p 10000:10000 ccn_proxy:devbuild --listen-address=0.0.0.0:10000  \
--netmaster-address=<netmaster>:9999 \
--data-store-address=etcd://<netmaster>:2379 \
--tls-certificate=/local_certs/cert.pem --tls-key-file=/local_certs/local.key

Step 4: Access UI using http://localhost:10000/

contiv-ui's People

Contributors

catw avatar gandhihardikm avatar mapuri avatar melanietom avatar rsikdar avatar shampur avatar vishal-j avatar

Watchers

 avatar  avatar  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.