Skip to content
Myr

Install docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent dfecbe5 · Browse files · 7 files+92 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

7 files+92 added−3 removed

  • other:+92 added−3 removed

7 files+92 added−3 removed

modified:docs/guide.1+40 added-1 removed
1 unmodified line
2.\" http://github.com/rtomayko/ronn/3.4.TH "GUIDE" "" "July 2010" "" ""5.6.SS "Installation"7npm:8.9.IP "" 410.11.nf1213$ npm install express14.15.fi16.17.IP "" 018.19.P20curl (or similar):21.22.IP "" 423.24.nf2526$ curl \-# http://github\.com/extjs/Connect/raw/master/install\.sh | sh27.28.fi29.30.IP "" 031.32.P33git clone or tarball for \fBHEAD\fR:34.35.IP "" 436.37.nf3839$ make install40.41.fi42.43.IP "" 044.45.SS "Creating An Application"46The \fIexpress\.Server\fR now inherits from \fIhttp\.Server\fR, however follows the same idiom by providing \fIexpress\.createServer()\fR as shown below\. This means that you can utilize Express server\'s transparently with other libraries\.47.48.IP "" 4
65 unmodified lines
114.SS "Settings"115Express supports the following settings out of the box:116.117.IP "\(bu" 479\fIhome\fR Application base path used with \fBres\.redirect()\fR118\fIhome\fR Application base path used with \fIres\.redirect()\fR119.120.IP "\(bu" 4121\fIviews\fR Root views directory defaulting to \fBCWD/views\fR122.
412 unmodified lines
modified:docs/guide.html+18 added-1 removed
158 unmodified lines
159 <li><a href="contrib.html">Contributing</a></li>160 <li><a href="migrate.html">1.x Migration</a></li>161 </ul>162<div class='mp'>163<h3 id="Installation">Installation</h3>164165<p>npm:</p>166167<pre><code>$ npm install express168</code></pre>169170<p>curl (or similar):</p>171172<pre><code>$ curl -# http://github.com/extjs/Connect/raw/master/install.sh | sh173</code></pre>174175<p>git clone or tarball for <strong>HEAD</strong>:</p>176177<pre><code>$ make install178</code></pre>179180<h3 id="Creating-An-Application">Creating An Application</h3>181182<p>The <em>express.Server</em> now inherits from <em>http.Server</em>, however183follows the same idiom by providing <em>express.createServer()</em> as shown below. This means
51 unmodified lines
235236<p>Express supports the following settings out of the box:</p>237238<ul>222<li><em>home</em> Application base path used with <code>res.redirect()</code></li>239<li><em>home</em> Application base path used with <em>res.redirect()</em></li>240<li><em>views</em> Root views directory defaulting to <strong>CWD/views</strong></li>241<li><em>view engine</em> Default view engine name for views rendered without extensions</li>242<li><em>reload views</em> Reloads altered views, by default watches for <em>mtime</em> changes with243 with a 5 minute interval. Example: <code>app.set('reload views', { interval: 60000 });</code></li>
286 unmodified lines
modified:docs/guide.md+15 added-1 removed
12### Installation34npm:56 $ npm install express78curl (or similar):910 $ curl -# http://github.com/extjs/Connect/raw/master/install.sh | sh1112git clone or tarball for **HEAD**:1314 $ make install1516### Creating An Application1718The _express.Server_ now inherits from _http.Server_, however19follows the same idiom by providing _express.createServer()_ as shown below. This means
47 unmodified lines
67### Settings6869Express supports the following settings out of the box:7057 * _home_ Application base path used with `res.redirect()`71 * _home_ Application base path used with _res.redirect()_72 * _views_ Root views directory defaulting to **CWD/views**73 * _view engine_ Default view engine name for views rendered without extensions74 * _reload views_ Reloads altered views, by default watches for _mtime_ changes with75 with a 5 minute interval. Example: `app.set('reload views', { interval: 60000 });`
254 unmodified lines
modified:docs/index.1+3 added
65 unmodified lines
66.IP "\(bu" 467Follow tjholowaychuk \fIhttp://twitter\.com/tjholowaychuk\fR on twitter for updates68.69.IP "\(bu" 470Annotated source documentation \fIapi\.html\fR71.72.IP "\(bu" 473View the source \fIhttp://github\.com/visionmedia/express\fR74.75.IP "" 076
modified:docs/index.html+1 added
196 unmodified lines
197198<ul>199<li><a href="http://groups.google.com/group/express-js">Google Group</a> for discussion</li>200<li>Follow <a href="http://twitter.com/tjholowaychuk">tjholowaychuk</a> on twitter for updates</li>201<li>Annotated source <a href="api.html">documentation</a></li>202<li>View the <a href="http://github.com/visionmedia/express">source</a></li>203</ul>204205
5 unmodified lines
modified:docs/index.md+1 added
modified:Readme.md+14 added