Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(450)

Side by Side Diff: appengine/swarming/ui/README.md

Issue 2419613002: Add basic swarming UI tests
Patch Set: Make sure symlink isn't followed for uploading Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « appengine/swarming/ui/Makefile ('k') | appengine/swarming/ui/bower.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 8 This combines all of the elements needed to display the page into several
9 "single-page" apps, like 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 10 These are checked into version control so that they may be easily redeployed w/o
(...skipping 13 matching lines...) Expand all
24 To run appengine locally without vulcanizing (preferred debugging mode), run 24 To run appengine locally without vulcanizing (preferred debugging mode), run
25 25
26 make debug_local_deploy 26 make debug_local_deploy
27 27
28 28
29 To access the demo pages on localhost:9050, run 29 To access the demo pages on localhost:9050, run
30 30
31 make run 31 make run
32 32
33 33
34 To run tests, run
35
36 make test
37
38
34 Prerequisites 39 Prerequisites
35 ============= 40 =============
36 41
37 You will need to install node.js, npm, and bower, for example: 42 You will need to install recent versions of node.js, npm, bower and (optionally)
43 web-component-tester:
38 44
39 sudo apt-get install npm nodejs-legacy 45 sudo apt-get install npm nodejs-legacy
40 sudo npm install -g bower 46 sudo npm install -g bower
47 sudo npm install -g web-component-tester #if you want to run tests
48
49 If you see errors like
50
51 /usr/lib/node_modules/web-component-tester/bin/wct:21
52 promise.then(() => process.exit(0), () => process.exit(1));
53 ^
54 SyntaxError: Unexpected token )
55
56 when running web-component-tester (wct), upgrade node.
41 57
42 58
43 If you don't want to install npm globally, try 59 If you don't want to install npm globally, try
44 60
45 echo prefix = ~/foo/bar >> ~/.npmrc 61 echo prefix = ~/foo/bar >> ~/.npmrc
46 curl https://www.npmjs.org/install.sh | sh 62 curl https://www.npmjs.org/install.sh | sh
47 ~/foo/bar/npm install -g bower 63 ~/foo/bar/npm install -g bower
OLDNEW
« no previous file with comments | « appengine/swarming/ui/Makefile ('k') | appengine/swarming/ui/bower.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698