• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

binary-com/mobile: Binary.com mobile application

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

binary-com/mobile

开源软件地址(OpenSource Url):

https://github.com/binary-com/mobile

开源编程语言(OpenSource Language):

JavaScript 61.9%

开源软件介绍(OpenSource Introduction):

Build Status

Tick Trade Mobile Application

  • Make sure you have node.js installed

Setting up the App

// Fork the repo in GitHub
git clone git@github.com:[your git username]/mobile.git
cd mobile
git remote add upstream git@github.com:binary-com/mobile.git

npm install -g bower gulp cordova ionic ios-sim
npm install

Running the App - localhost

// In project root
git pull upstream master
bower update
ionic serve

Running the App - iOS Emulator

ionic emulate ios

Running The App - iOS Device

cordova run ios --device

Running the App - Android Emulator

ionic emulate android

Running the App - Android Device

cordova run android --device

Submitting the code

git push origin master
// Create a pull request from your fork in GitHub

Working with SCSS

To update SCSS files, run the following command in another terminal

gulp sass  // compiles scss files to css
gulp watch // compiles scss files to css everytime a scss file gets changed

Deploy new web version to GH-Pages

To buil new version of the app and deploy it on gh-pages run the below command.

gulp deploy

Update and Deploy CrowdIn version

gulp deploy-translation (--remote <remote-name>)

How to use code-push to push new version

1. Install code-push
2. Modify `www/versions.json` file and add details of new version on it.
2. Use gulp to push the release

  `$gulp code-push --app <registered appName in code-push> --deployment <deploymentName> --platform <[android, ios]>`

How to build desktop version of TickTrade

  1. install electron globally npm install -g electron electron-packager
  2. use gulp to build gulp build-desktop --platform=[win32|linux|darwin|mas] --arch=[x64|ia32]
  3. sign the released app:
  4. install electron-osx-sign globally npm instal -g electron-osx-sign
  5. run electron-osx-sign path/to/release/app

How to test

  1. run npm install to install karam, jasmine and all other dependencies.
  2. run npm install -g karma-cli
  3. run 'karma start`



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
sshahine/JFoenix: JavaFX Material Design Library发布时间:2022-08-30
下一篇:
facebookresearch/mobile-vision: Mobile vision models and code发布时间:2022-08-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap