Skip to content

Instantly share code, notes, and snippets.

@kevinschaul
Last active December 25, 2015 22:08
Show Gist options
  • Save kevinschaul/7047113 to your computer and use it in GitHub Desktop.
Save kevinschaul/7047113 to your computer and use it in GitHub Desktop.
Installation instructions for web developers, specific to the Star Tribune stack

Star Tribune web dev tools installation

Must-haves

Includes tools needed to compile software

Via the Mac App Store

Note: An Apple developer account is required.

  1. Open Xcode
  2. Agree to license
  3. Open preferences
  4. Downloads tab
  5. Download/install "Command Line Tools"

Package manager for OS X. Helpful for installing other software

su schaullocaladmin        # User with admin privileges
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

# From regular account:
brew doctor

# Fix any issues. To fix mine, I ran:
su schaullocaladmin
sudo chown -R schauka /usr/local

Version control

brew install git

git config --global user.name 'YOUR NAME'
git config --global user.email 'YOUR@EMAIL.com'
git config --global push.default matching

# If you want to use Sublime Text to edit your commit messages:
ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl
git config --global core.editor 'subl -w'

I recommend using ssh authentication. Here's how to set that up

JavaScript without a browser

brew install node

Project-level tasks for repetitive things

npm install -g grunt-cli

Useful for previewing projects with Star Tribune includes

brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
brew install php54

Command-line tools for manipulating/exploring .csv files

sudo pip install csvkit

Test your code in different environments

Via .pkg installer

Test in IE6, 7, 8, 9 and 10 using VirtualBox

Note: This downloads ~15GB of files.

curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash

Might be nice for future projects

Geospatial data library, command-line tools

brew install gdal

GIS system

Requires GDAL Complete

Via .pkg installer

Python package manager

su schaullocaladmin        # User with admin privileges
sudo easy_install pip

Project-level python package scope

su schaullocaladmin        # User with admin privileges
sudo pip install virtualenvwrapper

Personal choices

Best text editor

brew install macvim

Helpful mods to vim

curl -Lo- https://bit.ly/janus-bootstrap | bash

Browser

Via .dmg installer

Preview .md files

Via Chrome Web Store Be sure to "Allow access to file URLs" in the settings

File syncing service

Via .dmg installer

LibreOffice

Open source office applications

Via .dmg installer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment