Skip to content
This repository has been archived by the owner on Dec 11, 2021. It is now read-only.
/ setup-dev-mac Public archive

A list of instructions I sometime use to set up Mac machines for web development.

License

Notifications You must be signed in to change notification settings

ellmetha/setup-dev-mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Mac OS X development setup

Go to: Apple Icon -> About this Mac -> Software updates

Homebrew is a package manager for macOS. Homebrew-Cask extends Homebrew and brings support for packages allowing to install macOS applications and large binaries.

$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew tap homebrew/cask
$ brew cask install iterm2

Preference modifications:

  • Go to iTerm2 -> Preferences -> General -> Closing and uncheck Confirm "Quit iTerm2 (Cmd Q)" command under the section Closing.
  • Go to iTerm2 -> Preferences -> Profiles -> Default -> General and check Reuse previous session's directory 13pt Menlo Regular
  • Go to iTerm2 -> Preferences -> Profiles -> Default -> Text and ensure that font is set to 13pt Menlo Regular
  • Download and install an iTerm theme (https://github.com/mbadolato/iTerm2-Color-Schemes)
$ brew install fish
$ curl -L https://get.oh-my.fish | fish
$ echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
$ chsh -s /usr/local/bin/fish
$ brew install gdbm gettext gnutls go gnupg iproute2mac jpeg jpegoptim libgcrypt libffi libksba \
  libtasn1 libusb nano ncurses openssl sqlite wget
$ brew cask install firefox gimp google-chrome spotify vlc
$ mkdir ~/Workspace
$ brew install python python3
$ pip install cookiecutter cryptography Pillow pipenv virtualenvwrapper
$ mkdir ~/.virtualenvs
$ brew install rbenv rbenv-default-gems ruby-build
$ rbenv init - | source
$ curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
$ echo bundler >> ~/.rbenv/default-gems
$ CFLAGS=-O3 rbenv install 2.5.3
$ rbenv global 2.5.3
$ gem install pry rails
$ brew install node
$ npm install -g eslint npm-check-updates
$ brew install git
$ brew install postgresql
$ brew services start postgresql
$ createdb (whoami)
$ psql

About

A list of instructions I sometime use to set up Mac machines for web development.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published