Macbook automation & configuration
-
Install the Xcode Command Line Tools by running
xcode-select --install
. -
Install Ansible:
- Add python3 / homebrew to path:
export PATH="$HOME/Library/Python/3.8/bin:/opt/homebrew/bin:$PATH"
- Upgrade pip:
sudo pip3 install --upgrade pip
- Install ansible:
pip3 install ansible
- Add python3 / homebrew to path:
-
Run
git clone git@github.com:brianpham/cattleworks.git && cd "$(basename "$_" .git)"
-
Run
cd ansible && ansible-galaxy install -r requirements.yml
-
Run
ansible-playbook main.yaml --ask-become-pass
todo: Add instructions for ohmyzsh and pk10
Store your GPG key passphrase so you don't need to enter everytime you sign a commit using gpg-agent
brew install pinentry-mac echo "pinentry-program $(brew --prefix)/bin/pinentry-mac" | tee ~/.gnupg/gpg-agent.conf pkill -TERM gpg-agent
echo test | gpg -e -r brianpham@gmail.com | gpg -d