commit | 653f9895fa53635fe4fdf543bd625e715f186d03 | [log] [tgz] |
---|---|---|
author | Jiri Simsa <jsimsa@google.com> | Tue Mar 24 23:03:42 2015 -0700 |
committer | Jiri Simsa <jsimsa@google.com> | Tue Mar 24 23:03:50 2015 -0700 |
tree | f046c0e4617db2bc4ca67374739b0a123add2f01 | |
parent | ada3a79aa55e7eb38ab91558da35ad0bc1e25d36 [diff] |
browser: adding copyright headers and licensing files Change-Id: I3910daf2f0c3f35501b7b27a0d32ed08758c289b
Viz is a browser-like application that lets developers and other users view the Vanadium world. Starting from their namespace root, a user can see where services are mounted and browse through the mount table hierarchy. The user can also select a service to see more detailed information about it. A user can also interact with the service; by invoking methods they can examine or modify the service's state.
Viz requires that users install the Vanadium Extension from the Chrome Web Store. Without this extension, Viz will not load properly.
Link to the Vanadium Extension: https://chrome.google.com/webstore/detail/vanadium-extension/jcaelnibllfoobpedofhlaobfcoknpap
##Building Viz
You will need to install the Vanadium environment and setup the web profile to build your own copy of Viz. See the development instructions for Vanadium for more information.
In order to build your own copy of Viz, simply run:
cd $VANADIUM_ROOT/release/projects/namespace_browser make build
This compiles the relevant bundle files in the ‘public’ folder. The assets inside can be served as your own instance of Viz.
You can serve a local instance of Viz with the following command:
make start
Note: You will need to install the Vanadium environment and setup the web profile for this command to succeed.
This command compiles and launches Viz. Additionally, demo services that represent a virtual house and cottage are added to your local namespace.
Navigate to http://localhost:9000 to access Viz. You can quit by using CTRL-C
on the console running make start
If you have any problems after updating the code, try cleaning the build.
make clean
make start
Viz has some unit and integration tests that verify basic functionality.
Run these tests with the following command:
make test
There are no UI tests yet.
Coming Soon! Meanwhile, you can submit issues and suggestions from Viz itself.
If you do not have access to the vanadium-staging GCE account ping jasoncampbell@. Once you have access you will need to login to the account via the command line.
gcloud auth login
To deploy the site to https://staging.namespace.v.io use the make target deploy-staging
.
make deploy-staging
This will sync the public
directory to the private Google Storage bucket gs://staging.namespace.v.io
which gets automatically updated to the nginx front-end servers. Currently all static content is protected by OAuth. For more details on the deployment infrastructure see this doc and the infrastructure repository.