Giter Site home page Giter Site logo

cooker's Introduction

Cooker

Bootstrap Your Mac.

This is just a chef-solo wrapper to configure laptop(os x only!). It was very inspired by github boxen and pivotal sprout.

GETTING STARTED

Install Xcode, Command Line Tools, Homebrew, Chef...etc.

$ git clone https://github.com/wantedly/cooker.git && cd cooker
$ script/cooker

HOW TO USE

Configure Projects Settings

If your project need to install some homebrew formulas/casks, just add the formulas/casks to roles/projects.rb (chef role file)

This is an example that adding git, openssl, chrome, hipchat, dropbox.

name "projects"
description "Run list for each project."
run_list(
  "recipe[homebrew]",        # Don't remove this
  "recipe[homebrew::bundle]" # Don't remove this
)
override_attributes({
  "homebrew" => {
    "formulas" => [
      "git",
      "openssl",
    ],
    "casks" => [
      "google-chrome",
      "hipchat",
      "dropbox"
    ]
  }
})

Also, you can write a chef recipe. Add your recipe under cookbooks/projects/recipes

log "Welcome to some project!"

and add your recipe to run list in projects role.

name "projects"
description "Run list for each project."
run_list(
  "recipe[homebrew]",         # Don't remove this
  "recipe[homebrew::bundle]", # Don't remove this
  "recipe[projects::your-project-recipe]"
)
override_attributes({
  "homebrew" => {
    "formulas" => [
      "git",
      "openssl",
    ],
    "casks" => [
      "google-chrome",
      "hipchat",
      "dropbox"
    ]
  }
})

Configure Personal Settings

Same as projects setting, you can write a personal recipe under cookbooks/people/recipes directory.

For example, if your username in mac is 'seigo', you need to create a file named seigo.rb.

This recipe will be added to run list automatically.

cooker's People

Contributors

spesnova avatar

Watchers

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