| OLD | NEW |
| 1 This contains all the Polymer 1.X elements used in swarming. | 1 This contains all the Polymer 1.X elements used in swarming. |
| 2 | 2 |
| 3 To clean and build the pages for deploying, run | 3 To clean and build the pages for deploying, run |
| 4 | 4 |
| 5 npm install # Need to only run once to set up dev dependencies. | 5 npm install # Need to only run once to set up dev dependencies. |
| 6 make vulcanize | 6 make vulcanize |
| 7 | 7 |
| 8 This combines all of the elements needed to display the page into several "singl
e-page" apps, like | 8 This combines all of the elements needed to display the page into several |
| 9 the bot-list. | 9 "single-page" apps, like the bot-list. |
| 10 These are checked into version control so that they may be easily redeployed w/o
having to rebuild | 10 These are checked into version control so that they may be easily redeployed w/o |
| 11 the pages if there were no changes. | 11 having to rebuild the pages if there were no changes. |
| 12 | 12 |
| 13 | 13 |
| 14 To do a full clean rebuild, run | 14 To do a full clean rebuild, run |
| 15 | 15 |
| 16 make clean_vulcanize | 16 make clean_vulcanize |
| 17 | 17 |
| 18 | 18 |
| 19 To access the demo pages on localhost:8080, run | 19 To access the demo pages on localhost:9050, run |
| 20 | 20 |
| 21 make && make run | 21 make && make run |
| 22 | 22 |
| 23 | 23 |
| 24 You will need to install node.js, npm, and bower, for example: | 24 You will need to install node.js, npm, and bower, for example: |
| 25 | 25 |
| 26 sudo apt-get install npm nodejs-legacy | 26 sudo apt-get install npm nodejs-legacy |
| 27 sudo npm install -g bower | 27 sudo npm install -g bower |
| 28 | 28 |
| 29 | 29 |
| 30 If you don't want to install npm globally, try | 30 If you don't want to install npm globally, try |
| 31 | 31 |
| 32 echo prefix = ~/foo/bar >> ~/.npmrc | 32 echo prefix = ~/foo/bar >> ~/.npmrc |
| 33 curl https://www.npmjs.org/install.sh | sh | 33 curl https://www.npmjs.org/install.sh | sh |
| 34 ~/foo/bar/npm install -g bower | 34 ~/foo/bar/npm install -g bower |
| OLD | NEW |