Skip to content

@fyaconiello /

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
Django Lion Setup
Step 1 - download and install macosx pkgs
  • download and install xcode
    • XCode and enable Command Line Tools
  • download and install mysql-server
Step 2
nano ~/.bash_profile

add the following

export ARCHFLAGS="-arch x86_64"
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/usr/local/mysql/lib
export PATH=$PATH:/usr/local/mysql/bin
Step 3: install homebrew
ruby -e "$(curl -fsSL"
install GIT, required to update brew
brew install git
brew update
brew install bash-completion byobu ssh-copy-id wget
install pip + virtualenv
sudo easy_install pip
sudo pip install virtualenv
Install libjpeg (PIL req)
curl -O
tar -xvzf jpegsrc.v8c.tar.gz
cd jpeg-8c
sudo make install
cd ../
install freetype (more PIL requirements)
curl -O
tar -xvzf freetype-2.4.5.tar.gz
cd freetype-2.4.5
sudo make install
cd ../
Step 4: setup git
setup the public key
ssh-keygen -t rsa -C ""
pbcopy < /User/user/.ssh/

log into and paste from your clipboard into SSH Keys on GitHub.

ssh -T
git config --global "Bob Builder"
git config --global ""
git config --global core.autocrlf input
Step 5: setup first virtualenv

Create the first environment

mkdir ~/Sites/environments
cd ~/Sites/environments
virtualenv liftcaregiving

enter your new environment

source ~/Sites/environments/liftcaregiving/bin/activate

clone the lift repo and satisfy the requirements of that repo

cd ../Sites
git clone
pip install -r ~/Sites/Lift--Caregiving/requirements.txt

You are up and running in magical land of v-envs!!


ruby -e "$(curl -fsSkL" command changed


+1 on Josh's comment


If you install sublime, run ln -s /Applications/Sublime\ Text\ /usr/local/bin/subl to get the subl command line functionality


In 10.9:

ln -s /Applications/ /usr/local/include/X11


Homebrew install url now:
ruby -e "$(curl -fsSL"


New Homebrew install:
ruby -e "$(curl -fsSL"


xcode-select --install

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.