Surely, many who have tried to use Node.JS in their projects have a question about the deployment of
npm packages per server. Our infrastructure is widely used machines with Ubuntu, where we deploy services through debian packages. I want to talk about the tool that we wrote to simplify the creation of debian packages and which we have been successfully using for over a year.
The first version of
npm2debian appeared in February 2011, in November 2011 it was rewritten from scratch, and more recently it moved from using
cdbs in the created packages to
debhelper 7 and acquired basic documentation.
Now npm2debian is a tool that creates a sorted Debian package from the npm package. As a rule, all you have to do is build binary packages from it with the
debuild
command or
dpkg-buildpackage -rfakeroot
.
The latest version 0.2.10
is available in the npm package repository.
')
Installation:
npm -g install npm2debian
Bugs and suggestions write to the
tracker on github.
If you feel the strength to improve the tool - there are always tasks in the tracker. Patches are welcome!