* node.js
* ruby
* python
* jdk
* mongodb
1.2 安装 cordova bower gulp nodemon ruby-sass
npm install -g cordova bower gulp nodemon
gem install sass
brew install android-sdk
android
安装以下项目
Tools/
Android SDK Tools
Android SDK Platform-tools
Android SDK Build-tools
API 22/
SDK Platform
Extras/
Android Support Repository
Android Support Library
start mongodb service
npm install
bower install
//
cordova create cordova org.upsun.hichat Hi.Chat
cp -rf cordova_files/** cordova
cd cordova
cordova platform add android
//
cordova plugin add cordova-plugin-device cordova-plugin-dialogs cordova-plugin-inappbrowser cordova-plugin-camera cordova-plugin-file cordova-plugin-file-transfer
//for debug
//cordova-plugin-console
//for android build release
cp android_signed_file/** platforms/android/
cd ../
./cordova/build.sh dev|test|dist