ioniclub

by IonicChina

IonicChina / ioniclub

The mobile app of http://ionichina.com/

196 Stars 95 Forks Last release: Not found 11 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Ioniclub App

Join the chat at https://gitter.im/IonicChina/ioniclub

http://ionichina.com Ionichina社区客户端,采用Ionic Framework开发

Download on the app store

快速开始

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行)添加
lintOptions {
    abortOnError false
}
#详情

5. 运行

浏览器

$  ionic serve

ios

$  ionic build ios
$  ionic run ios

android

$  ionic build android
$  ionic run android

贡献

贡献者列表

有任何意见或建议都欢迎提 issue,或者直接在社区 http://ionichina.com 提给 @DongHongfei

License

MIT

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.