Git Product home page Git Product logo

nodejs-cookbook's Introduction

nodejs-cookbook Build Status

DESCRIPTION

Installs Node.JS

REQUIREMENTS

Platform

  • Tested on Debian 6 and Ubuntu 10.04
  • Should work fine on Centos, RHEL, etc.

Cookbooks:

  • build-essential
  • apt

Opscode cookbooks (http://github.com/opscode/cookbooks/tree/master)

ATTRIBUTES

  • nodejs['install_method'] = source or package
  • nodejs['version'] - release version of node to install
  • nodejs['src_url'] - download location for node source tarball
  • nodejs['dir'] - location where node will be installed, default /usr/local
  • nodejs['npm'] - version of npm to install
  • nodejs['npm_src_url'] - download location for npm source tarball
  • nodejs['check_sha'] - test for valid sha_sum, default: true

USAGE

Include the nodejs recipe to install node on your system based on the default installation method:

  • include_recipe "nodejs"

Include the install_from_source recipe to install node from sources:

  • include_recipe "nodejs::install_from_source"

Include the install_from_package recipe to install node from packages: Note that only apt (Ubuntu, Debian) appears to have up to date packages available. Centos, RHEL, etc are non-functional. (Try install_from_binary for those)

  • include_recipe "nodejs::install_from_package"

Include the install_from_binary recipe to install node from official prebuilt binaries: (Currently Linux x86, x86_64, armv6l only)

  • include_recipe "nodejs::install_from_binary"

Include the npm recipe to install npm:

  • include_recipe "nodejs::npm"

LICENSE and AUTHOR

Author:: Marius Ducea ([email protected]) Author:: Nathan L Smith ([email protected])

Copyright:: 2010-2012, Promet Solutions Copyright:: 2012, Cramer Development, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

nodejs-cookbook's People

Contributors

avaranovich avatar eheydrick avatar fnichol avatar gmiroshnykov avatar jodosha avatar jonlil avatar julesau avatar luntzel avatar markbirbeck avatar mdxp avatar portertech avatar robertkowalski avatar rohansingh avatar sax avatar smith avatar videlalvaro avatar wanelo-pair avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.