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

Unified Diff: appengine/swarming/elements/README.md

Issue 2174903002: Add stub pages and oauth-blessed request to /newui (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Remove unneeded headers Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/swarming/elements/Makefile ('k') | appengine/swarming/elements/botlist.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/elements/README.md
diff --git a/appengine/swarming/elements/README.md b/appengine/swarming/elements/README.md
index 4fa0ad6c8b60ca9caacdb9359302d417b3e91323..e8d8813491ad00a55e14fd27c3fc66c4bc82b95d 100644
--- a/appengine/swarming/elements/README.md
+++ b/appengine/swarming/elements/README.md
@@ -1,7 +1,23 @@
This contains all the Polymer 1.X elements used in swarming.
+
+To clean and build the pages for deploying, run
+
+ npm install # Need to only run once to set up dev dependencies.
+ make vulcanize
+
+This combines all of the elements needed to display the page into several "single-page" apps, like
+the bot-list.
+These are checked into version control so that they may be easily redeployed w/o having to rebuild
+the pages if there were no changes.
+
+
+To do a full clean rebuild, run
+
+ make clean_vulcanize
+
+
To access the demo pages on localhost:8080, run
-
make && make run
@@ -9,3 +25,10 @@ You will need to install node.js, npm, and bower, for example:
sudo apt-get install npm nodejs-legacy
sudo npm install -g bower
+
+
+If you don't want to install npm globally, try
+
+ echo prefix = ~/foo/bar >> ~/.npmrc
+ curl https://www.npmjs.org/install.sh | sh
+ ~/foo/bar/npm install -g bower
« 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