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

Unified Diff: chrome/browser/resources/md_downloads/vulcanize_readme.md

Issue 1863633002: Tune vulcanize doc for Mac-flavored npm (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_downloads/vulcanize_readme.md
diff --git a/chrome/browser/resources/md_downloads/vulcanize_readme.md b/chrome/browser/resources/md_downloads/vulcanize_readme.md
index dba53481551e593018b6bdf077cb7b510f8c4cda..2be2248ada9519cdbea8f3a6e47bdcd474ada76f 100644
--- a/chrome/browser/resources/md_downloads/vulcanize_readme.md
+++ b/chrome/browser/resources/md_downloads/vulcanize_readme.md
@@ -18,12 +18,21 @@ Vulcanization currently requires:
For instructions on installing node and npm, see
[here](https://docs.npmjs.com/getting-started/installing-node).
-Once you've installed npm, you can get `crisper` and `vulcanize` via:
+We recommend telling npm where to store downloaded modules:
```bash
-$ sudo npm install -g crisper vulcanize
Dan Beam 2016/04/05 15:39:04 i've never liked that we needed to use `sudo` for
+$ npm config set -g prefix "$HOME/node_modules"
```
+Then install `crisper` and `vulcanize` like this:
+
+```bash
+$ npm install -g crisper vulcanize
+```
+
+Ultimately, all that is required to run this script is that `crisper` and
+`vulcanize` are on your `$PATH`.
+
## Combining resources with vulcanize
To combine all the CSS/HTML/JS for the downloads page to make it production
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698