Details vary by OS, but usually you would put node in the path so you can
type or call node anywhere.  In linux the `make install` does this for you.
 I don't know about windows.

There is no path specific to node.  Just the system path of executables.

An example would be to type `node /your_blog_path/server.js` while you are
in any directory.  If you are in your blog folder you can just type `node
server.js`.

I hope this helps.

On Sat, Jul 21, 2012 at 6:56 PM, 徐峰 <[email protected]> wrote:

> New to nodejs, and I've read the book "The Node Beginner 
> Book"<http://www.nodebeginner.org/>written by  Manuel
> Kiessling <http://twitter.com/manuelkiessling> .But there's something
> which this book fails to mention is that all the js files are in the same
> fold or the same path. eg, when create a blog project and I name it blog,
> and then I add the server.js, app.js, do I have to include the *node.exe *file
> in the same folder too? or Can I just place it other where? Can anyone help
> or recommend some article about the path in nodejs. Thx a lot!
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to