If you're only developing for one platform you can ignore the steps below that are tagged with the platform you don't require. Node version used is 8.11
- 1.1) clone the project using
git clone [email protected]:adityapaturi/restaurant-finder.git
- 1.2)
cd restaurant-finder
- 1.3) Install NPM packages with your package manager of choice - i.e run
yarn
ornpm install
- 1.4) [iOS]
cd ios
and runpod install
- if you don't have CocoaPods you can follow these instructions to install it. - 1.5) [Android] No additional steps for android here.
- 4.1) Start the react native packager, run
yarn run start
ornpm start
from the root of your project. - 4.2) [iOS] Build and run the iOS app, run
npm run ios
oryarn run ios
from the root of your project. The first build will take some time. This will automatically start up a simulator also for you on a successful build if one wasn't already started. - 4.3) [Android] If you haven't already got an android device attached/emulator running then you'll need to get one running (make sure the emulator is with Google Play / APIs). When ready run
npm run android
oryarn run android
from the root of your project.