Skip to content

Instantly share code, notes, and snippets.

@mariusa
Last active December 22, 2015 15:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariusa/6495729 to your computer and use it in GitHub Desktop.
Save mariusa/6495729 to your computer and use it in GitHub Desktop.

How to setup OSX dev environment

Install from App Store

  • Xcode

Install from web

Site content management tool

Open Terminal. Paste these commands:

sudo su -
gem update --system
gem install jekyll jekyll-contentblocks -V

# from site folder
jekyll serve --watch
# now browse to http://localhost:4000

Misc

Forward port 5000 to port 80

sudo ipfw add 100 fwd 127.0.0.1,5000 tcp from any to any 80 in

bash

nano ~/.bash_profile 

# copy-paste these
alias l="ls -al"
alias dm="du -m -d 1"

export EDITOR=nano

export PATH="/Applications/Postgres93.app/Contents/MacOS/bin/:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment