Skip to content

Latest commit

 

History

History
executable file
·
151 lines (96 loc) · 3.43 KB

setup.md

File metadata and controls

executable file
·
151 lines (96 loc) · 3.43 KB

Setup

  • Download and install latest version of Xcode from Mac App Store
  • Download and install Xcode Command Line Tools
  • Set up Git/GitHub:

Once those steps are complete, run the following commands:

git clone [email protected]:bradbergeron-us/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
rake install

Sections

If you want to, you can run the individual sections of rake install to update or redo any particular section.

Aliases

If you need to symlink a new file, in the Rakefile, add an original_location (path to the file in your dotfiles) and a new_location (path to the files location, generally at ~/). For example:

# ----- Original Locations ----- #

original_locations[:new_file] = "#{ ENV['HOME'] }/.dotfiles/new_file"

# ----- New Locations ----- #

new_locations[:new_file] = "#{ ENV['HOME'] }/.new_file"

Once those two locations are set up, run the following:

rake install_symlinks[single]
rake install_rbenv[single]

Once you've set up rbenv:

  • Install a Ruby version (rbenv install VERSION)
  • Set a global Ruby version (rbenv global VERSION)
rake install_homebrew[single]
rake install_homebrew_packages[single]

Postgres

Install Postgres through the application rather than Homebrew:

Note: NPM is installed during the Homebrew setup (alongside Node), but this sets up some common packages.

rake install_npm[single]
rake install_osx_settings[single]
rake install_sublime_text_settings[single]

Next, install Package Control.

Additional Tools

Pow & Powder

If you use Pow and/or the powder Gem, you'll need to install Pow before the powder Gem:

rake install_pow[single]

Heroku

Toolbelt

Download at https://toolbelt.heroku.com/.

Multiple Accounts

If you manage more than one Heroku account, install Heroku Accounts:

heroku plugins:install git://github.com/ddollar/heroku-accounts.git

GitHub Command Line

Two options:

  1. stephencelis/ghi
  2. node-gh/gh

GHI

This is in rake install_homebrew[single].

GH

[sudo] npm install -g gh

Compiling Icon Fonts

To compile icon fonts, use Font Custom.

brew install fontforge --with-python
brew install eot-utils
gem install fontcustom

FTPM

For managing your fonts, you can use FTPM.

Desktop Wallpapers

To easily swap out multiple space and monitor wallpapers on OS X, install chrishunt/desktop:

gem install desktop