Prototype for a community app for the Impact Hub Zurich built with React Native, Redux and ImmutableJS.
Built with
♥️ by @livioso and @raphioriginal.
In order to get the simulator running do the following:
brew install node && brew install watchman && npm install -g react-native-cli
npm install
react-native run-ios
🚀 The simulator should be up and running.
The code must comply to the airbnb style guide:
npm run lint:fix
can fix some errors for you (spacing etc.)npm run lint
In order to run the unit tests do the following:
npm test:watch
run all unit tests whenever files get modified.npm test
🙅 There must be no errors before pushing code.
There are multiple packagers running (error address in use
):
- run
npm run packager:kill
to kill all running packager.
Run Build on device:
- XCode: Change
Product -> Scheme -> Edit Scheme
fromdebug
toproduction
- Bundle code and assets:
npm run bundle
- Change
jsCodeLocation
in AppDelegate.m tojsbundle
.