Skip to content

Materials for codebar's Intro to React Native workshop

Notifications You must be signed in to change notification settings

codebar/intro-to-react-native

Repository files navigation

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 and Android studio (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. If you still feel stuck, get in touch with Kim Cook or Anna Doubkova at the Codebar slack.

About

Materials for codebar's Intro to React Native workshop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published