diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-02-28 16:30:45 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-02-28 16:30:46 +0100 |
commit | 522668b5d93b46d7beb7f4d4c5db2078cf08560b (patch) | |
tree | 6cc6261ee29de695c7af6c676ade9e0cb69063ed | |
parent | 82357b87eb112ca21c8abbb1ea41aaebf1f351a3 (diff) | |
download | node-new-522668b5d93b46d7beb7f4d4c5db2078cf08560b.tar.gz |
doc: update instructions on home page
Document how to run the example on the home page in more detail.
Apparently our Windows brethren are prone to double-clicking on the
binary instead of running it from the command line.
Fixes #4854.
-rw-r--r-- | doc/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/index.html b/doc/index.html index a9a8546bd6..9368d5f5a5 100644 --- a/doc/index.html +++ b/doc/index.html @@ -89,7 +89,9 @@ http.createServer(function (req, res) { }).listen(1337, '127.0.0.1'); console.log('Server running at http://127.0.0.1:1337/');</pre> - <p>To run the server, put the code into a file <code>example.js</code> and execute it with the <code>node</code> program:</p> + <p>To run the server, put the code into a file + <code>example.js</code> and execute it with the + <code>node</code> program from the command line:</p> <pre class="sh_none"> % node example.js Server running at http://127.0.0.1:1337/</pre> |