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

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.

主站蜘蛛池模板: 岫岩| 昔阳县| 深水埗区| 孟村| 阳新县| 子洲县| 无锡市| 龙门县| 临潭县| 福建省| 卫辉市| 从化市| 聂荣县| 武乡县| 昆山市| 长海县| 潞城市| 肃宁县| 邢台市| 宝坻区| 遵义市| 佛冈县| 佛冈县| 民权县| 栾川县| 嘉鱼县| 集贤县| 金山区| 乐清市| 高要市| 固阳县| 勐海县| 武陟县| 乌鲁木齐县| 宁夏| 石河子市| 体育| 泸定县| 博白县| 上虞市| 洛南县|