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

Side by Side Diff: web/README.md

Issue 2945663002: Add hint about pre-installed nodejs and npm install in infra Go env. (Closed)
Patch Set: reword Created 3 years, 6 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # web/ 1 # web/
2 2
3 Common html/css/js files shared by all apps live here, as well as a scripts 3 Common html/css/js files shared by all apps live here, as well as a scripts
4 to "build" web applications. 4 to "build" web applications.
5 5
6 ## Setup 6 ## Setup
7 7
8 *Hint*: If you are using infra.git gclient solution, you can skip the following
9 steps after running `eval go/env.go`.
10
8 1. Install node & npm: https://docs.npmjs.com/getting-started/installing-node 11 1. Install node & npm: https://docs.npmjs.com/getting-started/installing-node
9 1. Install the rest: `./web.py install` 12 1. Install the rest: `./web.py install`
10 13
11 ## Building apps 14 ## Building apps
12 15
13 All supported web apps are in `web/apps/`. The snippet below uses rpcexplorer 16 All supported web apps are in `web/apps/`. The snippet below uses rpcexplorer
14 as an example. 17 as an example.
15 18
16 ```shell 19 ```shell
17 cd web 20 cd web
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 109
107 ///<reference path="../inc/component/importer.ts" /> 110 ///<reference path="../inc/component/importer.ts" />
108 ``` 111 ```
109 112
110 This will cause Gulp to build a `main.js` file containing the correctly-ordered 113 This will cause Gulp to build a `main.js` file containing the correctly-ordered
111 chain of referenced components ready for inclusion. 114 chain of referenced components ready for inclusion.
112 115
113 If an application chooses to import external modules, those imports will require 116 If an application chooses to import external modules, those imports will require
114 a module loader such as [require.js](http://requirejs.org/) to be installed in 117 a module loader such as [require.js](http://requirejs.org/) to be installed in
115 the application. 118 the application.
OLDNEW
« 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