You will need to install npm and node.js as well as Cordova CLI (Command line interface)
Intsall pushbots via terminal (npm install pushbots-cli -g)
cordova create test01 com.yourCompanyName.test01 test01
-cd test01
-cordova platform add android
-cordova plugin add cordova-plugin-device
-cordova plugin add cordova-plugin-console
-pushbots install
-Enter App Id, App Secret and GCM Sender ID(project number)
-cordova run android (with you android phone connected to the mac via usb cable; make sure usb debugging is enabled)