Skip to content

Instantly share code, notes, and snippets.

@suzannealdrich
Forked from kevinelliott/osx-10.10-setup.md
Last active September 7, 2022 00:21
Show Gist options
  • Save suzannealdrich/d240c4741052b5db732a to your computer and use it in GitHub Desktop.
Save suzannealdrich/d240c4741052b5db732a to your computer and use it in GitHub Desktop.
Recipe for custom OS X 10.10 Yosemite setup with Homebrew Cask installed user apps and Docker developer environment.

Mac OS X 10.10 Yosemite

Recipe for custom OS X 10.10 Yosemite setup with Homebrew Cask installed user apps and Docker developer environment.

Fork this and modify to match your needs.

Install Software

The software selected is needed after fresh installs. Software not listed here is handled on a case-by-case basis.

Install from App Store

Install from Third-Party Websites

Fonts

Mensch coding font

Xcode Command Line Tools

If you've already downloaded Xcode from the App Store you can install Command Line Tools via menu:

Xcode > Preferences > Downloads > Command Line Tools

or install the Command Line Tools only, without the rest of Xcode, via the terminal:

xcode-select --install

Homebrew

Run Xcode and accept the license

Homebrew cannot install properly until this occurs.

Install Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor

Shell

Install credentials

Create new key and copy to GitHub:

ssh-keygen -t rsa -C "[email protected]"

# Copy ssh key to github.com
pbcopy ~/.ssh/id_rsa.pub

# Test connection
ssh -T [email protected]

Alternatively, transfer existing keys from storage. To avoid compromising your private keys and other sensitive information, securely copy via encrypted means all SSH, OTR, and PGP credentials, SSL certificates and any other configuration.

Install custom dotfiles

Clone and link custom dotfiles repository to home directory and run bootstrap script

mkdir ~/Projects
cd ~/Projects
git clone [email protected]:suzannealdrich/dotfiles.git
cd ~
ln -s ~/Projects/dotfiles dotfiles
cd dotfiles
source bootstrap.sh

Update .extra

cd ~
touch .extra

Add Git author information to .extra

# Git credentials
# Not in the repository, to prevent people from accidentally committing under my name
GIT_AUTHOR_NAME="Suzanne Aldrich"
GIT_COMMITTER_NAME="$GIT_AUTHOR_NAME"
git config --global user.name "$GIT_AUTHOR_NAME"
GIT_AUTHOR_EMAIL="[email protected]"
GIT_COMMITTER_EMAIL="$GIT_AUTHOR_EMAIL"
git config --global user.email "$GIT_AUTHOR_EMAIL"
git config --global user.signingkey 3747228BE9CC066E
git config --global commit.gpgsign true

User Applications

Install common applications via Homebrew

cd ~
./brew.sh

Install Homebrew extension Cask

brew tap caskroom/cask

Install applications via Homebrew Cask

brew cask install github
brew cask install iterm2
brew cask install keepassx
# brew cask install 1password
brew cask install spectacle
brew cask install sublime-text
brew cask install mysqlworkbench
brew cask install evernote
brew cask install skitch
brew cask install spotify
brew cask install adium
brew cask install textwrangler
brew cask install atom

Docker Environment

Install Docker

brew install docker
brew install docker-machine
brew install docker-compose

Create a new VM for Boot2Docker

docker-machine create --driver=virtualbox default

Connect Docker client and Docker Engine to the VM

docker-machine env default

Configure your shell to use the VM

eval $(docker-machine env default)

Get the IP address from the machine:

docker-machine ip default

Pantheon Development Environment

Pantheon Terminus CLI

brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/php
brew install homebrew/php/terminus

macOS Preferences

cd ~
./.macos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment