Follow this short guide to set up and run the source code locally on macOS (the Android version of React Native has some support for Windows and Linux testing).
Clone the repo
git clone https://github.com/fbsamples/f8app.git cd f8app
Yarn, for installing the NPM dependencies and running helper scripts.
Watchman, for the React Native packager to automatically detect your changes.
Docker, for running the local development server.
Docker Compose, for running the local development server (included with Docker for Mac and Windows).
Android Studio, for the Android SDK and tools.
Make sure to install the SDK and build tools for API level 23 (see here for more details).
Xcode 8.3 +, for the iOS build toolchain and simulators.
Facebook SDK (iOS), for building Facebook functionality into the app.
Make sure the files are in
Start the server
Start the local development server.
Check that the server is working correctly.
Go to the Parse Dashboard (http://localhost:4040/apps/F8/), and it should look like this:
Run the App
- Install the NPM dependencies.
Connect a device or open an emulator.
Build and run the app.
- Open the Xcode project.
- Build and run the app in a simulator (