Last active
December 30, 2015 05:59
-
-
Save amirnissim/7786519 to your computer and use it in GitHub Desktop.
Setup a new Mac for Everything.me FEDs (WIP)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install command line tools | |
| # running 'make' will trigger the installation (a confirmation will open) | |
| make | |
| # git should be installed now | |
| git | |
| # setup git | |
| git config --global user.name "John Doe" | |
| git config --global user.email johndoe@example.com | |
| # SSH key for github (see https://help.github.com/articles/generating-ssh-keys) | |
| # ssh-keygen -t rsa -C "johndoe@example.com" | |
| # pbcopy < ~/.ssh/id_rsa.pub | |
| # echo 'key copied to clipboard - add it to your github profile at https://github.com/settings/profile' | |
| # install homebrew | |
| ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)" | |
| # homebrew packages | |
| brew install wget bash-completion npm rename unrar | |
| # make 'projects' dir (with 'workspace' alias) | |
| cd ~ && mkdir projects && ln -s projects workspace | |
| # setup dotfiles | |
| cd ~/projects | |
| git clone https://github.com/amirnissim/dotfiles.git | |
| cd ~ | |
| # create symlinks | |
| find projects/dotfiles -maxdepth 1 -exec ln -s {} \; | |
| rm -rf .git | |
| rm .DS_STORE | |
| rm README.md | |
| rm LICENSE-MIT.txt | |
| # setup Gaia (gaia.me and gjslint) | |
| cd ~/projects | |
| git clone https://github.com/EverythingMe/gaia.git | |
| git clone https://github.com/EverythingMe/gaia.me.git | |
| sudo easy_install http://closure-linter.googlecode.com/files/closure_linter-latest.tar.gz | |
| cd gaia | |
| git remote add upstream https://github.com/mozilla-b2g/gaia.git | |
| # apps to install (TODO: use .cask file?) | |
| # iTerm | |
| # SublimeText | |
| # Google Chrome | |
| # Google Chrome Canary | |
| # ClipMenu | |
| # Source Tree | |
| # ... | |
| # setup Sublime (sublime.me) | |
| cd ~/projects | |
| git clone https://github.com/EverythingMe/sublime.me.git | |
| cd ~/Library/Application\ Support/ && rm -rf Sublime\ Text\ 3/ && ln -s ~/projects/sublime.me Sublime\ Text\ 3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment