Skip to content
This repository has been archived by the owner on Feb 20, 2018. It is now read-only.

wantedly-archive/cooker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cooker [Deprecated]

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.

About

[Deprecated] Bootstrapping laptops.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published