How I make a .deb for a Node.js application that installs Node.js and its required npm modules on dpkg -i?
Which is the place in the filesystem where I have to put this application? (/opt,/usr/local).
Thanks in advance.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Here's an article + screencast on the subject:
I know this is kind of late.
Here is a ppa repo that might help you: https://launchpad.net/~chris-lea/+archive/node.js/
This installs node to a standard location. I consider installing with npm to local directories (part of the application) the best practice.