Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.22 KB

README.md

File metadata and controls

39 lines (28 loc) · 1.22 KB

PocketNode

Lightweight Node REPL for iOS and Android

Screenshot

Developing

$ git clone [email protected]:mzabriskie/PocketNode.git
$ cd PocketNode
$ npm install

To run the iOS app:

  • Open ios/PocketNode.xcodeproj in Xcode and hit ⌘-R to run.
  • Open index.ios.js in your text editor and make some changes.
  • Hit ⌘-R in the iOS simulator to reload the app.
  • In Xcode go to Report navigator > PocketNode > Debug to see output from console.log.

To run the Android app:

  • $ android avd then select the reactnative device.
  • $ react-native run-android
  • Open index.android.js in your text editor, and make some changes.
  • Hit F2 in the Android simulator to reload the app.
  • Run adb logcat *:S ReactNative:V ReactNativeJS:V to see output from console.log.

If you haven't setup Android development yet, see the setup guide.

Troubleshooting:

  • For iOS make sure you are running Xcode 6.3 or newer.
  • If you get "Cannot read property 'root' of null" update watchman:
$ brew update
$ brew upgrade watchman