开源软件名称(OpenSource Name):IonicChina/ioniclub
开源软件地址(OpenSource Url):https://github.com/IonicChina/ioniclub
开源编程语言(OpenSource Language):
JavaScript
89.3%
开源软件介绍(OpenSource Introduction):Ioniclub App
http://ionichina.com Ionichina社区客户端,采用Ionic Framework开发
快速开始
1. 首先安装ionic
$ sudo npm install -g cordova ionic
2. 项目Clone到本地
$ git clone https://github.com/IonicChina/ioniclub.git
3. 添加 android 或 ios 平台
注: 真机调试,浏览器可以跳过此步骤;
ios 开发只能在 mac 下进行。
$ cd ioniclub
$ ionic platform add ios
$ ionic platform add android
4. 添加所有用到的插件
bower install moment --save
bower install ngCordova
bower install angular-moment --save
bower install angular-resource --save
cordova plugin add https://github.com/danwilson/google-analytics-plugin.git
cordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git
cordova plugin add cordova-plugin-inappbrowser
cordova plugin add https://github.com/katzer/cordova-plugin-email-composer.git
cordova plugin add https://github.com/whiteoctober/cordova-plugin-app-version.git
cordova plugin add cordova-plugin-network-information
cordova plugin add https://github.com/wildabeast/BarcodeScanner.git
cordova plugin add https://github.com/VersoSolutions/CordovaClipboard.git
jpush 插件安装参考:[https://github.com/jpush/jpush-phonegap-plugin](https://github.com/jpush/jpush-phonegap-plugin
注:在添加了BarcodeScanner插件后android 打包会遇到个蛋疼error,解决方案是在platforms/android/build.gradle文件里 android {} 结点(243行)添加
abortOnError false
}```
[#详情](http://forum.ionicframework.com/t/error-when-running-cordova-build-release-android/25136/4)
### 5. 运行
#### 浏览器
$ ionic serve
#### ios
$ ionic build ios
$ ionic run ios
#### android
$ ionic build android
$ ionic run android
## 贡献
[贡献者列表](https://github.com/IonicChina/ioniclub/graphs/contributors)
有任何意见或建议都欢迎提 issue,或者直接在社区 [http://ionichina.com](http://ionichina.com) 提给 [@DongHongfei](http://ionichina.com/user/DongHongfei)
## License
[MIT](LICENSE)
|
请发表评论