My development environment - aavedula/how-to-notes GitHub Wiki

Back

Terminal

  • set profile to Homebrew and change font to Monaco 14

Install applications

  • Install brew.
brew install wget
  • Set up MacVim
brew install macvim
git clone pathogen
git clone solarized
pathogen install NerdTree
  • Set up Atom

    Download atom and install various packages

    • atom-beautify
    • atom_packages
    • busy-signal
    • intentions
    • language-elixir
    • linter
    • linter-rubocop
    • linter-ruby
    • linter-ui-default
    • merge-conflicts
    • trailing-spaces
    • vim-mode-plus
  • Set up other development tools and environment

brew install git
brew install bash-completion
  • Basic .bash_profile
if [ -f `brew --prefix`/etc/bash_completion.d/git-completion.bash ]; then
 . `brew --prefix`/etc/bash_completion.d/git-completion.bash
fi

set -o vi
export EDITOR=vi

parse_git_branch() {
  git branch 2> /dev/null | sed -e '/^[^-]/d' -e 's/- \(.-\)/ (\1)/'
}
export PS1="\[\033[32m\]\W\[\033[33m\]\$(parse_git_branch)\[\033[00m\]$ "
  • Github

    Add ssh key to github

ssh-keygen
  • Add passphrase to ssh agent
ssh-add -K
brew install gpg
\curl -L https://get.rvm.io | bash -s stable
  • Install ruby, gem, bundler
gem install bundler
export PATH="$PATH:/Library/PostgreSQL/9.6/bin"
export PGDATA="/Library/PostgreSQL/9.6/data"
export PGHOST="localhost"
  • Install redis
brew install redis
sudo npm install npm@latest -g
  • Change ownership of node_modules from root:wheel to me:
chown me:mygroup /usr/local/lib
npm install -g elm
  • Phantom.js
brew install phantomjs
  • Aptible cli
brew cask install aptible
  • Cyberduck UI (for SFTP) (Optional)
brew cask install cyberduck