Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    it-works-node-sandboxpublic

    it-works-node-sandbox

    A vagrant/docker vm sandbox with node installed from source

    Install

    vagrant up

    Run

    ssh to vagrant vm

    $ vagrant ssh                      

    node v0.10.26

    run bash in docker vm

    vagrant@ubuntu-12:~$ docker run -i -t node:v0.10.26 /bin/bash

    start node

    root@838c626e4a40:/# node

    run code in node REPL

    > process.versions
    { http_parser: '1.0',
      node: '0.10.26',
      v8: '3.14.5.9',
      ares: '1.9.0-DEV',
      uv: '0.10.25',
      zlib: '1.2.3',
      modules: '11',
      openssl: '1.0.1e' }

    node v0.11.9

    run bash in docker vm

    vagrant@ubuntu-12:~$ docker run -i -t node:v0.11.9 /bin/bash

    start node

    root@0bfbb4e8bf5e:/# node

    run code in node REPL

    > process.versions
    { http_parser: '1.0',
      node: '0.11.9',
      v8: '3.22.24.5',
      uv: '0.11.15',
      zlib: '1.2.3',
      modules: '13',
      openssl: '1.0.1e' }

    Warning

    It will take a loooong time to compile node in the vagrant/docker vm on a slow machine.

    install

    npm i it-works-node-sandbox

    Downloadsweekly downloads

    9

    version

    0.0.2

    license

    CC-BY-3.0

    repository

    githubgithub

    last publish

    collaborators

    • avatar