| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
kinghlc
9年前发布

gitmonitor - have an eye on your git repos in your pocket

来自: https://github.com/theotow/gitmonitor-ios

gitmonitor-ios

purpose

The purpose of this app is to remind you to push your code before you shut your macbook and go home, it may be that other people depend on it or your harddrive dies on the way home...

how to install

  1. Setup your env https://非死book.github.io/react-native/docs/getting-started.html#content
  2. Adjust the path to yourgitmonitor-server in src/reducer/Settings.js
  3. Npm install all npm install
  4. Open gitmonitor-ios/ios/Gitmonitor/AppDelegate.m
  5. Adjust localhost to your ip address if your testing on device jsCodeLocation = ...

Open Xcode project in ios/ folder

how to build it for your iphone

  1. Open gitmonitor-ios/ios/Gitmonitor/AppDelegate.m
  2. Uncomment jsCodeLocation = [[NSBundle mainBundle] ...
  3. run react-native bundle --dev false --entry-file ./index.ios.js --bundle-output ./ios/main.jsbundle --platform ios in the gitmonitor-ios folder
  4. The JS bundle will be built for dev or prod depending on your app's scheme (Debug = development build with warnings, Release = minified prod build with perf optimizations). To change the scheme navigate to Product > Scheme > Edit Scheme... in xcode and change Build Configuration between Debug and Release.

uses

  • custom fonts
  • embedded images
  • qr code scanner
  • async storage
  • react-redux
  • ... -> package.json

preview

depends on

Tested on Mac OSX 10.10.5 & node 4.2.2 & Xcode 7.2.1

open todos

  • add settings to make endpoint changeable
  • cleanup / simplify

how to contribute

feel free to send me PRs for the open todos, or come up with other suggestions and improvements

licence

MIT

 本文由用户 kinghlc 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1457527725953.html
Git 版本控制系统