These are the steps needed to install my environment, I have to create a script to do it automatically every time is needed, but I don't need it too often, and generally when I need it procedure has changed a bit thanks to Apple :)
-
Install homebrew ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install PIP: sudo easy_install pip
-
Install Virtualenv: sudo pip install virtualenv
-
Install django on virtualenv pip install django==1.10 (installs django 1.10, change version as needed)
-
Configure git git config --global color.ui true git config --global user.name "Your name" git config --global user.email "[email protected]" ssh-keygen -t rsa -C "[email protected]"
-
Mysql brew install mysql ln -sfv /usr/local/opt/mysql/*plist ~/Library/LaunchAgents launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
-
Postgresql brew install postgresql ln -sfv /usr/local/opt/postgresql/*plist ~/Library/LaunchAgents launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
-
MongoDB brew install mongodb
Lately I have not used apache or anything like that anymore, because both Django and Laravel have builtin servers for development.