I have a node server app that I want to publish on npm.  I would like it to
be easy for anyone to do an npm install and then run the server.  I have
only published modules in npm, not apps.  Some questions ...

1) After installing, how can they start the server?  Of course they could
go to the app folder and run "node my-server" but that is a pain.  I'd like
for them to be able to do a global install and then just start it with a
simple bash command from any working directory.

2) My server only accepts https connections. I don't want them to have to
go to the trouble to install a self-signed certificate.  Once again I'd
like for them to be able to do the npm install and then use it immediately
from their browser.  Is there any way that npm could install a self-signed
certificate?  The only person accessing this server will be the person who
installed it so it would be easy for them to provide an exception for the
certificate in their browser. Or is there a way I can run an https  server
with no certificate?  Encryption is all I need.

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to