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

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

Issue 2177353002: Add top level app element (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@hello-oauth
Patch Set: Address feedback and introduce new res/ layer of direction Created 4 years, 4 months 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/elements/Makefile ('k') | appengine/swarming/elements/botlist.html » ('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 "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 vulcanize and run appengine locally, run
20 20
21 make && make run 21 make local_deploy
22 22
23 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
24 You will need to install node.js, npm, and bower, for example: 37 You will need to install node.js, npm, and bower, for example:
25 38
26 sudo apt-get install npm nodejs-legacy 39 sudo apt-get install npm nodejs-legacy
27 sudo npm install -g bower 40 sudo npm install -g bower
28 41
29 42
30 If you don't want to install npm globally, try 43 If you don't want to install npm globally, try
31 44
32 echo prefix = ~/foo/bar >> ~/.npmrc 45 echo prefix = ~/foo/bar >> ~/.npmrc
33 curl https://www.npmjs.org/install.sh | sh 46 curl https://www.npmjs.org/install.sh | sh
34 ~/foo/bar/npm install -g bower 47 ~/foo/bar/npm install -g bower
OLDNEW
« no previous file with comments | « appengine/swarming/elements/Makefile ('k') | appengine/swarming/elements/botlist.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698