Shutdown your Mac
Insert memory stick with new OS X files
Start up the mac and hold down alt
Choose Disk Util
– Run disk util and format drive (erase main drive)
– Partition new drive (partition 1: Macintosh HD – ensure GUID partition is selected under options)
– Then, cmd + Q to close disk util
Now choose install OS X and follow prompts
– Don’t transfer any data from mac or windows
– Enter account details
– If you have an update of the os x software on the memory stick, enter your .dmg file and run the .pkg file
– OS X will restart after the update
– Connect to the internet
– Install chrome (If you have the .dmg file)
– Install brew and update brew
– install mysql
– install redis
– install node
– install bower
– install grunt-cli
Mac Development Setup
———————————–
Install brew:
ruby -e “$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)”
brew doctor
brew update
Install MySQL:
brew install mysql
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
mysql.server start
Install Redis:
brew install redis
ln -sfv /usr/local/opt/redis/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.redis.plist
Install NodeJS:
brew install node
node -v
Install Tree: (Optional)
brew install tree
Install Bower:
npm i -g bower
Install Grunt:
npm i -g grunt-cli
npm -g update
npm i -g grunt-cli
Install CleverStack:
npm install -g cleverstack-cli
clever -V
Setup and test CleverStack:
mkdir Projects
cd Projects/
clever init clever-walking-skeleton-1.0
clever serve
clever build
clever install clever-orm
clever serve
clever install clever-auth
clever serve
cd Projects/
cd bootstrap/
npm update
bower update
Setup Protractor (For Testing):
cd frontend/
npm run-script setup-protractor
npm install -g protractor
webdriver-manager update
webdriver-manager update –standalone
webdriver-manager start
One Response
Jp de Beer
grunt 1.7.7