Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (21 loc) · 1.19 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.19 KB

Let's do some React Native

Software requirements:

  • Xcode 6.4
  • Homebrew
  • Node: brew install node
  • Watchman: brew install watchman
  • React Native command line: npm install -g react-native-cli

Then:

  • Get this repo: git clone git@github.com:meetup/react-native-demo.git
  • Change to directory cd react-native-demo
  • Install required npm packages npm install
  • Open it in Xcode open rndemo.xcodeproj
  • Hit the "play" button in the upper left of Xcode, or hit ⌘R

The project should run in the iOS simulator. If you get stuck, ping Rick on HipChat.

If you'd like to start experimenting, open up the react-native-demo directory in a text editor (not Xcode). A good place to start is demo.ios.js -- that's the component that is being loaded as the start screen.

More things to peruse: