Skip to content

Instantly share code, notes, and snippets.

@ajamaica
Created October 21, 2012 20:02
Show Gist options
  • Save ajamaica/3928304 to your computer and use it in GitHub Desktop.
Save ajamaica/3928304 to your computer and use it in GitHub Desktop.
Arreglar Montain Lion
Tienes que tener Xcode Pre instalado
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
Bajar Command Line Tools de https://developer.apple.com/downloads/index.action#
Simlink a x11 : ln -s /opt/X11 /usr/X11
brew list
brew install libxml2
brew link libxml2
brew update
brew uninstall zsh
brew install zsh
brew uninstall python
brew install python --framework
brew install mysql
## Path de una vez por todas
export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/share/python:$PATH
# Include user's bin folder.
if [ -d "$HOME/bin" ] ; then
export PATH="$HOME/bin:$PATH"
fi
## Cosas normales de Django y python
sudo easy_install pip
sudo easy_install mercurial
sudo pip install virtualenv
sduo pip install virtualenvwrapper
sudo touch /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/__init__.py
## cosas utiles
sudo pip install psycopg2
sudo pip install mysql-python
sudo pip install PIL
sudo pip install django
## El bonito omyzsh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment