GithubHelp home page GithubHelp logo

avalancheau / phantomjs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from customink-webops/phantomjs

0.0 2.0 0.0 259 KB

Chef cookbook for phantomjs

License: Apache License 2.0

Ruby 99.58% Shell 0.42%

phantomjs's Introduction

phantomjs Cookbook

Build Status

Installs the phantomjs cookbook and necessary packages. This repository also features a full test suite!

As of version 1.0.0, this cookbook is Chef 11!+

Installation

Add the phantomjs cookbook to your Berksfile:

cookbook 'phantomjs'

or install directly with knife:

$ knife cookbook site install phantomjs

Usage

Add the cookbook to your run_list in a node or role:

"run_list": [
  "recipe[phantomjs::default]"
]

or include it in a recipe:

# other_cookbook/metadata.rb
# ...
depends 'phantomjs'
# other_cookbook/recipes/default.rb
# ...
include_recipe 'phantomjs::default'

Attributes

All attributes are namespaced under node['phantomjs'].

Attribute Description Example Default
version The version to install 1.0.0 1.9.2
packages The supporting packages ['apache2'] (varies)
checksum The checksum of the download abc123 nil
src_dir Location for the download /src /usr/local/src
base_url URL for download http://example.com/ https://phantomjs.googlecode.com/files
basename Name of the package phantomjs-1.0.0-x86 (varies)

Development

  1. Fork the project

  2. Create a feature branch (i.e. add_feature_x)

  3. Make your changes

  4. Write or change specs as necessary

  5. Run the tests:

     $ bundle exec strainer test
    
  6. Submit a pull request on github

License and Authors

Copyright 2012-2013, Seth Vargo
Copyright 2012-2013, CustomInk, LLC

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.

phantomjs's People

Contributors

sethvargo avatar sax avatar lukeasrodgers avatar bflad avatar jjoos avatar prashantrajan avatar bradgignac avatar dkubb avatar

Watchers

Kevin Yank avatar James Cloos 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.