Total Pageviews

Sunday, 5 January 2014

spmjs


  • $ npm install spm -g
    $ spm help
    $ spm install jquery/jquery
    $ spm install gallery/moment
     
    from https://spmjs.org/, https://github.com/spmjs/spm2
    --------------------------------------------

    Yuan

    yuan is a distributed packaging system for spmjs.org.

    Installation

    Make sure you have Python 2.7.x installed.
    Clone this repo:
    $ git clone git://github.com/lepture/yuan.git yuan
    
    Install every requirements we need:
    $ pip install -r conf/reqs-pro.txt
    
    If you don't have pip, install pip first:
    $ easy_install pip
    

    Configuration

    Make a directory called etc in this repo, copy a basic config file and edit it:
    $ mkdir etc
    $ cp conf/base_config.py etc/config.py
    $ vim etc/config.py
     
    from https://github.com/spmjs/yuan