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
- Setup your env https://非死book.github.io/react-native/docs/getting-started.html#content
- Adjust the path to yourgitmonitor-server in src/reducer/Settings.js
- Npm install all npm install
- Open gitmonitor-ios/ios/Gitmonitor/AppDelegate.m
- 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
- Open gitmonitor-ios/ios/Gitmonitor/AppDelegate.m
- Uncomment jsCodeLocation = [[NSBundle mainBundle] ...
- run react-native bundle --dev false --entry-file ./index.ios.js --bundle-output ./ios/main.jsbundle --platform ios in the gitmonitor-ios folder
- 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
- gitmonitor-client
- gitmonitor-server
- Xcode
- node
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
</article> 本文由用戶 kinghlc 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!