Created
January 12, 2012 15:59
-
-
Save FrancisVarga/1601285 to your computer and use it in GitHub Desktop.
setup a virgin mac osx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Installing basic packages for development." | |
echo "Notes:" | |
echo "- if asked for a password, provide your system user password" | |
echo "- if asked for a mysql server password, enter 'root'" | |
echo -n "Press ENTER to continue, CTRL-c to cancel:" | |
read DUMMY | |
sudo echo | |
echo "Installing Pear." | |
sudo php /usr/lib/php/install-pear-nozlib.phar | |
echo "Copy php.ini.default to php.ini" | |
sudo cp /etc/php.ini.default /etc/php.ini | |
echo "Installing Phing." | |
sudo pear channel-discover pear.phing.info | |
sudo pear install --alldeps phing/phing-beta | |
echo "Installing PHPUnit." | |
sudo pear config-set auto_discover 1 | |
sudo pear install pear.phpunit.de/PHPUnit | |
echo "Installing PHPUnit/PHPUnit_Story." | |
sudo pear install pear.phpunit.de/PHPUnit_Story | |
echo "Installing PHPUnit Utils." | |
sudo pear install phpunit/phpcov phpunit/phpcpd phpunit/phpdcd phpunit/phploc | |
echo "Installing pdepend." | |
sudo pear channel-discover pear.pdepend.org | |
sudo pear install pdepend/PHP_Depend-beta | |
echo "Installing brew." | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)" | |
brew update | |
brew install mysql git-extras node beanstalk mcrypt-php libmemcached git-extras git-flow git-multipush git-utils nmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment