adrianco / spigo

Simulate Protocol Interactions in Go
Apache License 2.0
1.12k stars 111 forks source link

How to get architecture on the local UI ? #53

Closed hvram1 closed 9 years ago

hvram1 commented 9 years ago

I ran the compose2arch -f xxx.yaml |python -m json.tool > my_arch.json .

I was also able to run the ./spigo -a my_arch.json =j=true

I was able to run npm install and bring up the UI locally . I see the my_arch.json copied as part of the json in the UI directory

What files should I modify to get the "my_arch" in the drop down (on the browser ) so that I can see the visuallzations in the browser ?

hvram1 commented 9 years ago

Found the js/toolbar/index.js and did the modifications