- clone code from github
- install node packages:
npm install
- brew cask install react-native-debugger
- install
ruby
andcocoapods
gem:gem install cocoapods
- install pod dependencties
cd ios && pod install
(read the note below) - launch app
react-native run-ios
pod install
or pod setup
fetches whole repo with history when you first time run it.
You don't need that commit history.
Instead, run:
pod setup
Ctrl +C
to kill the setup.cd ~/.cocoapods/repos
git clone --depth 1 https://github.com/CocoaPods/Specs.git master
It'll take significantly less time to clone.
- install Android Studio
- create an Emulator, for example sdk v23
- launch app
react-native run-android
react-native log-ios
orreact-native log-android
Redux
: http://redux.js.org/redux-api
: https://github.com/lexich/redux-api/blob/master/docs/DOCS.mdnative-base
: http://nativebase.io/docs/v0.5.13/componentsmaterial-ui
: https://github.com/xotahal/react-native-material-ui
- Every change must be in branch
- Lint code before commit
npm run eslint js
- To update Release you first need to update the staging version: android: code-push release-react infash android ios: code-push release-react infash ios --plistFile "ios/gllu/Info.plist"
- If everything is ok you can promote the update to production: code-push promote infash Staging Production