zoukankan      html  css  js  c++  java
  • nDistro

    nDistro

    Node distribution shell script. nDistro allows you to build your own node distribution using a simple configuration file, without depending on large programs. To contribute a node binary head over to nodes.

    NOTE: this tool is deprecated, npm now supports a similar behaviour

    Installation

    curl:

     $ cd /usr/local/bin && curl https://github.com/visionmedia/ndistro/raw/master/install | sh
    

    npm:

    $ npm install ndistro
    

    Example distribution

    nDistro is simply a dotfile named .ndistro which defines module and node binary version dependencies. In the example below we specify the node binary version 0.1.102, as well as several 3rd party modules.

    node 0.1.102
    module senchalabs connect
    module visionmedia express 1.0.0beta2
    module visionmedia connect-form
    module visionmedia connect-redis
    module visionmedia jade
    module visionmedia ejs
    module learnboost node-canvas 0.4.0 canvas
    

    Follow the installation step above to gain access to the ndistro executable, and then in your distro directory that contains .ndistro run:

    $ ndistro

  • 相关阅读:
    C#_Assembly-Reflection_程序集与反射
    C#_event_事件
    C#_扩展方法
    C#_Delegate_泛型
    C#_正则表达式
    C#_序列化
    Unity_ClickToShow_FadeInAndOut
    RecordToday
    写作技巧
    高效休息法
  • 原文地址:https://www.cnblogs.com/lexus/p/2499035.html
Copyright © 2011-2022 走看看