Re: [nodejs] running npm project as node program

2012-04-23 Thread Paddy Byers
Hi,

I *conceptually* want to do this ...

   npm install wonder-app
   node wonder-app

 In other words I want to distribute the complete app ready to run via npm.
  What is the easiest way to do this?


What about:

npm install wonder-app
node --eval require('wonder-app')()

?

Paddy

-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en


Re: [nodejs] running npm project as node program

2012-04-23 Thread Oliver Leics
Have a look at
http://npmjs.org/doc/json.html#bin
and then:

  npm install -g wonder-app
  wonder-app

On Mon, Apr 23, 2012 at 8:44 AM, Paddy Byers paddy.by...@gmail.com wrote:
 Hi,

 I *conceptually* want to do this ...

   npm install wonder-app
   node wonder-app

 In other words I want to distribute the complete app ready to run via npm.
  What is the easiest way to do this?


 What about:

 npm install wonder-app
 node --eval require('wonder-app')()

 ?

 Paddy

 --
 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 nodejs@googlegroups.com
 To unsubscribe from this group, send email to
 nodejs+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/nodejs?hl=en?hl=en



-- 
Oliver Leics @ G+
https://plus.google.com/112912441146721682527

-- 
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en


Re: [nodejs] running npm project as node program

2012-04-23 Thread Mark Hahn
Thx.  Your suggestions make it easy.

On Mon, Apr 23, 2012 at 12:18 AM, Oliver Leics oliver.le...@gmail.comwrote:

 Have a look at
 http://npmjs.org/doc/json.html#bin
 and then:

  npm install -g wonder-app
  wonder-app

 On Mon, Apr 23, 2012 at 8:44 AM, Paddy Byers paddy.by...@gmail.com
 wrote:
  Hi,
 
  I *conceptually* want to do this ...
 
npm install wonder-app
node wonder-app
 
  In other words I want to distribute the complete app ready to run via
 npm.
   What is the easiest way to do this?
 
 
  What about:
 
  npm install wonder-app
  node --eval require('wonder-app')()
 
  ?
 
  Paddy
 
  --
  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 nodejs@googlegroups.com
  To unsubscribe from this group, send email to
  nodejs+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/nodejs?hl=en?hl=en



 --
 Oliver Leics @ G+
 https://plus.google.com/112912441146721682527

 --
 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 nodejs@googlegroups.com
 To unsubscribe from this group, send email to
 nodejs+unsubscr...@googlegroups.com
 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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en