官术网_书友最值得收藏!

Installing the StrongLoop Node distribution

StrongLoop (http://strongloop.com) has put together a supported version of Node that is prepackaged with several useful tools. This is a Node distribution in the same sense in which Fedora or Ubuntu are Linux distributions. StrongLoop brings together several useful packages, some of which were written by StrongLoop. StrongLoop tests the packages together, and distributes installable bundles through their website.

The packages in the distribution include Express, Passport, Mongoose, Socket.IO, Engine.IO, Async, and Request. We will use all of those modules in this book.

To install, navigate to the company home page and click on the Products link. They offer downloads of precompiled packages for both RPM and Debian Linux systems, as well as Mac OS X and Windows. Simply download the appropriate bundle for your system.

For the RPM bundle, type the following:

$ sudo rpm -i bundle-file-name

For the Debian bundle, type the following:

$ sudo dpkg -i bundle-file-name

The Windows or Mac bundles are the usual sort of installable packages for each system. Simply double-click on the installer bundle, and follow the instructions in the install wizard.

Once StrongLoop Node is installed, it provides not only the node and npm commands (we'll go over these in a few pages), but also the slnode command. That command offers a superset of the npm commands, such as boilerplate code for modules, web applications, or command-line applications.

主站蜘蛛池模板: 连州市| 枣强县| 玛曲县| 诸城市| 建宁县| 金溪县| 通榆县| 莱州市| 呼和浩特市| 赣榆县| 裕民县| 青海省| 无为县| 体育| 双峰县| 时尚| 潜江市| 徐水县| 临沂市| 惠州市| 南昌市| 江达县| 舞阳县| 中卫市| 文成县| 汝城县| 南和县| 晋城| 城口县| 夏河县| 伊金霍洛旗| 香河县| 普格县| 长治县| 大连市| 汝南县| 渭源县| 井陉县| 金寨县| 长白| 曲松县|