You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.0 KiB

A new beginning for what used to be my
[conf_dir](https://github.com/kejadlen/conf_dir) project, since `dotfiles`
appears to be the conventional name of these types of repos nowadays.
This uses [Ansible](https://github.com/ansible/ansible) to provision new
machines and [stow](http://www.gnu.org/software/stow/) for managing conf
files that can be symlinked.
# Usage
First, install [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?mt=12)
and the Command Line Tools.
``` shell
sudo xcode-select --install
open 'https://itunes.apple.com/us/app/xcode/id497799835?mt=12'
sudo xcodebuild -license
```
Then run the bootstrapping script. This installs Homebrew and Ansible, and
clones the dotfiles repo into `~/.dotfiles`.
``` shell
curl -L https://raw.github.com/kejadlen/dotfiles/master/bootstrap.sh | sh
```
Now ansible can be run to set up mostly everything.
``` shell
cd ~/.dotfiles/ansible && ansible-playbook main.yml --ask-sudo-pass
rm -f ~/*.retry
```
# Post-Ansible
``` shell
ln -sF ~/Dropbox/dotfiles ~/.dotfiles
```