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