Code Monkey home page Code Monkey logo

company-webapp's Introduction

company-webapp-cookbook

This cookbook automates the installation of:

It also:

  • ensures that the required configuration is completed reliably
  • is idempotent and does not repeat redundant tasks

Dependencies

This cookbook installs all of its dependencies via Berkshelf and the Chef supermarket

Supported Platforms

This cookbook supports the same platforms as the nginx and git cookbooks. (Debian and RHEL families)

Attributes

Key Type Description Default
['company-webapp']['port'] string Port for nginx to listen on 8000
['company-webapp']['gitrepo'] string Location of the git repo https://github.com/puppetlabs/exercise-webpage.git
['company-webapp']['gitbranch'] string Which branch to deploy from master
['company-webapp']['docroot'] string Target directory to deploy website /var/www/nginx/default
['company-webapp']['index'] string What file names nginx should use as index index.html index.htm

Usage

local workstation / development testing

Git
 - install git and clone down this repository

VirtualBox
 http://www.oracle.com/technetwork/server-storage/virtualbox/downloads/index.html

Vagrant
 http://www.vagrantup.com/downloads.html
 vagrant plugin install vagrant-berkshelf

Chef DK
 https://downloads.chef.io/chef-dk/

PATH
 ensure that /opt/chefdk/bin is before any other Chef items in your PATH variable

Get Rolling
cd company-webapp
kitchen converge # this will instantiate a new VM and converge it
point your workstation browser to http://localhost:8000
kitchen verify # this will run the serverspec tests
kitchen login # this will allow you to log in to the VM

deploying this to your infrastructure

Include company-webapp in your node's Chef run_list:

{
  "run_list": [
    "recipe[company-webapp::default]"
  ]
}

License and Authors

Author:: Jeremy J. Miller ([email protected])

company-webapp's People

Contributors

jeremymv2 avatar

Watchers

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.