ahutchings / pocketguide

The Burners Pocket Guide

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#The Burners Pocket Guide

##Getting Started

###Installation

run through react-native setup steps

####Basics Clone the repo

npm install

React Native requires the basic setup explained at React Native Getting Started.

After installing these dependencies there are two simple commands to get a React Native project all set up for development.

npm install -g react-native-cli

react-native-cli is a command line interface that does the rest of the set up. It’s installable via npm. This will install react-native as a command in your terminal. You only ever need to do this once.

###Android Startup

Startup your android emulator by using something like emulator @Nexus_5_API_23_x86. Or ensure there is a device connected setup for debug.

cd ~/pocketguide

react-native run-android

To see your changes you have to open the rage-shake-menu (either shake the device or press the menu button on devices, press F2 or Page Up for emulator, ⌘+M for Genymotion), and then press Reload JS.

####Troubleshooting com.android.ddmlib.InstallException: Failed to establish session

Ensure the emulator you are using has Use Host GPU toggled in the emulator settings.

###IOS Startup

cd ~/pocketguide

react-native run-ios

  • or - Open /Users/jfunk/projects/pocketguide/ios/pocketguide.xcodeproj in Xcode

Hit the Run button

##License

© 2016 Tyler Cook

Contributors: cmunoz3

MPL 2.0 (similar to the LGPL in terms of copyleft but more compatible with the App Store)

About

The Burners Pocket Guide


Languages

Language:Objective-C 64.8%Language:JavaScript 33.1%Language:Shell 1.5%Language:Java 0.7%