-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.sh
More file actions
33 lines (24 loc) · 1.01 KB
/
setup.sh
File metadata and controls
33 lines (24 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Setup steps for dot file integration with Dropbox
# subl command is for sublime integration; you can also use vi or another editor
# Install Homebrew
/usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
# Install RVM, ruby, and rails
curl -L https://get.rvm.io | bash -s stable --rails
# Install tools
brew bundle Brewfile
# configure git to store your password
git config --global credential.helper osxkeychain
# Install NPM
curl http://npmjs.org/install.sh | sh
# Install NPM packages
npm install -g imageoptim-cli grunt-cli bower
# Create a profile file if you do not have one
cd ~
subl .profile
# Create dropbox directory for dot files, and add another profile file here
mkdir $HOME/Dropbox/dotFiles
subl .profile
# in ~/.profile
# Source my dropbox profile for common settings; anything else can go in local profile
# This lets you share common settings on multiple machines, and keep local settings in tact
source $HOME/Dropbox/dotFiles/.profile