https://github.com/codebar/intro-to-react-native
Materials for codebar's Intro to React Native workshop
https://github.com/codebar/intro-to-react-native
Last synced: 1 day ago
JSON representation
Materials for codebar's Intro to React Native workshop
- Host: GitHub
- URL: https://github.com/codebar/intro-to-react-native
- Owner: codebar
- Created: 2019-05-21T15:46:41.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T22:35:03.000Z (over 3 years ago)
- Last Synced: 2025-10-10T06:25:40.150Z (7 months ago)
- Language: Objective-C
- Size: 1.95 MB
- Stars: 3
- Watchers: 6
- Forks: 1
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React native workshop
## Pre-requisites
Set up the environment:
```
brew install node
brew install watchman
npm install -g yarn
```
Then install react native:
```
npm install -g react-native-cli
```
#### To run iOS
You'll need to have a macbook with an up-to-date version of XCode installed.
#### To run Android
You can run Android on any platform, including Windows and Linux.
Download [JDK 8](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html) and [Android studio](https://developer.android.com/studio/index.html) (make sure you install SDK 9 wheen installing Android studio).
Then add these variables to your `.bash_profile`:
```
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
```
## Does it work?
Check out this repository, install dependencies, and start the app:
```
git clone git@github.com:codebar/intro-to-react-native.git
cd ./intro-to-react-native
yarn
yarn react-native run-ios (or) yarn react-native run-android
```
#### Any issues?
If you find any issues setting up, check out the react native [installation guide](https://facebook.github.io/react-native/docs/getting-started). If you still feel stuck, get in touch with Kim Cook or Anna Doubkova at the Codebar slack.