gnowledge/gstudio — pull request #530 by kedar2a (2014-06-17 12:52:09+00:00)
Title: Installing Bower and other static - CSS/JS files through Bower

**Bower Installations :**
- Documentation of installing *Bower* added in the ```INSTALL``` file.
- The installation will install ```node.js```, ```npm```, ```bower``` specific to our virtualenv.

**Installing static files via *Bower* :**
- Just with ```bower install``` command it installs/downloads all the required static - JS/CSS files in the ```component``` folder.
- Currently I have added MathJax in bower folder, which gets installed after ```bower install```.
- Accordingly I have changed the path of mathjax from *cdn* to ```/components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML``` in ```node_details_base.html```. And this is working fine.
- for reference I am sharing this [pastebin of command log](http://pastebin.com/embed_js.php?i=DGiD4NGT)

**Future perspective of bower**
- Now we need to populate ```bower.json``` file with required static dependency names.
- I have implemented MathJax as sample.
- We need to do same for all other like ```leaflet```, ```loadeditor.js```, ```tree.jquery.js```, ```...```, ```...``` etc.
- Then check if everything is working as expected.