Hybrid(2)meteor Running Android and iOS

Hybrid(2)meteor Running Android and iOS

1. Build the Android
Running on an Android emulator
> meteor install-sdk android

✗ Android emulator acceleration is not installed
(The Android emulator will be very slow without acceleration)

follow this document to install that
https://github.com/meteor/meteor/wiki/Mobile-Dev-Install:-Android-on-Mac#haxm

> meteor add-platform android

> meteor run android

This will run on the emulator.

Real Android Device
> meteor run android-device

> meteor run android-device --mobile-server sillycat.meteor.com

2. Build the iOS
Running on an iOS Simulator

> meteor install-sdk ios

> meteor add-platform ios

> meteor run ios

Running on an iPhone or iPad
> meteor run ios-device
> meteor run ios-device --mobile-server sillycat.meteor.com

3. Try more Example
>meteor create --example todos
> meteor create --example localmarket

https://github.com/meteor/meteor/tree/devel/examples/localmarket

A lot of great example https://github.com/meteor/meteor/tree/devel/examples

leaderboard
localmarket
todos
other/wordplay

References:
https://www.meteor.com/try/7
https://www.meteor.com/try/12

http://docs.meteor.com/#/basic/

deployment
https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx
https://meteorhacks.com/deploy-a-meteor-app-into-a-server-or-a-vm
https://github.com/arunoda/meteor-up

client only
http://www.meteorpedia.com/read/Building_for_the_client_only
http://stackoverflow.com/questions/24600653/meteor-client-side-only-publish-subscribe
http://frozeman.de/blog/2013/08/using-meteor-as-frontend-library/

install grunt
http://sillycat.iteye.com/blog/1860773

ui part
http://getbootstrap.com/2.3.2/scaffolding.html#responsive
http://getbootstrap.com/
https://github.com/twbs/bootstrap
https://github.com/nghuuphuoc/responsivetest
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值