- Install zsh
- If you wait until you've installed brew, you can use brew install zsh
- Set zsh as your default shell
chsh -s $(which zsh)
- Install oh-my-zsh
- Install oh-my-zsh: https://github.com/robbyrussell/oh-my-zsh
- Install all apps
- Postgres
- Sublime (and Package Control for Sublime)
- Babel
- Babel snippets
- Sass
- iTerm
- Install homebrew and apps
- Use homebrew to install nginx, node, and npm
- Check out or create your own branch of the dotfiles and create an .npmrc file which should look contain the line:
- prefix=/Users/[your username]/.npm-packages
- Check out or create your own branch of the dotfiles and create an .npmrc file which should look contain the line:
- nginx - set to run on startup (instructions in http://derickbailey.com/2014/12/27/how-to-start-nginx-on-port-80-at-mac-osx-boot-up-log-in/)
- generate two ssl certs in /usr/local/etc/nginx/ssl/dev
sudo openssl req -x509 -nodes -days 1095 -newkey rsa:2048 -keyout mobile.key -out mobile.crt
- You can just skip all of the questions except for servername, which should be
*.mobile.dev
- You can just skip all of the questions except for servername, which should be
sudo openssl req -x509 -nodes -days 1095 -newkey rsa:2048 -keyout web.key -out web.crt
- Skip all questions except servername, which should be
*.web.dev
- Skip all questions except servername, which should be
- trust the two ssl certs you generated
- Navigate to /usr/local/etc/nginx/ssl in finder. Double click the .crt files, this will open Keychain Access (might take a second). You might need to select a keychain to add the certificates to (select login). Double click *.mobile.dev and *.web.dev, open Trust, and select "Always Trust" for "when using this certificate." You will need to enter your password when you close this window to confirm the change.
- Add "include sites-enabled/*;" in the http section of nginx.conf.
- You might need to create sites-available and sites-enabled folders inside /usr/local/etc/nginx if they don't already exist
- sudo nginx -s reload
- generate two ssl certs in /usr/local/etc/nginx/ssl/dev
- brew install dnsmasq - set to run on startup (instructions displayed upon install)
- Use homebrew to install nginx, node, and npm
- Clone this project into a folder called "config" in your home directory
- Run install scripts using
sudo sh [script]
(You will need to navigate into the install_scripts directory to do this)- install - create symlinks
- sudo nginx -s reload (now that you've created symlinks, we need to restart nginx)
- keyboard_shortcuts - will need to be re-run if you change the keyboard shortcuts in the settings
- osx - a set of sane defaults for osx
- install - create symlinks
- Tell iterm to use com.googlecode.iterm2.plist in preferences (iTerm -> Preferences -> General -> Load preferences from a custom folder or URL -> Set this to "~/config")
- Dev env installs
- Node
- NPM
- npm install -g (as applicable, you may not need all of these. Organized by general types of apps that require each)
- Sails
- knex
- node-debug
- node-inspector
- nodemon
- sails
- Angular
- yo
- gulp
- bower
- Ionic
- cordova
- ionic
- Other
- mocha
- n
- webpack
- Sails
- Flux
- ShiftIt
- HyperDock
- GIMP
- Chrome
- Drive
- Inkscape
- Postico
- Textual
- Postman
- Selenium
- Download version 2.53.0 from http://selenium-release.storage.googleapis.com/index.html?path=2.53/
- Download latest version of chromedriver from http://chromedriver.storage.googleapis.com/index.html
- Unzip chromedriver, and place both files in /Applications/selenium
- Should end up looking like:
- /Applications/selenium/selenium-server-standalone-2.43.0.jar
- /Applications/selenium/chromedriver
- Should end up looking like: