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

  • 相关阅读:
    剑指offer(链表)
    设计模式
    谷歌Colab使用(深度学习)
    Consul与python API注册与注销
    【日志收集】之Loki
    【消息队列】之 RabbitMQ安装
    【消息队列】之NSQ安装
    Docker基础
    Python3 , Mysql5.7 , Smb 安装
    SkyWalking部署
  • 原文地址:https://www.cnblogs.com/lexus/p/2499035.html
Copyright © 2011-2022 走看看