Getting Started
Last updated
Last updated
To get started with React Native project you have to install some tools, dependencies and applications as follows:
and : This can be installed via the command line.
command line interference: This can be installed via the command line.
: This can be downloaded from Mac App Store.
: This can be download from the official website of Android.
Node Package Manager: This can be installed via command line in the project's main file.
You will need Node, Watchman, the React Native command line interface, Xcode and Android Studio to run the app in iOS and Android simulators:
To install node and watchman , run below commands respectively in your terminal:
To install the React Native command line utility, run the below command in your terminal:
You have to go the main files folder and install the NPM as follows :
Go to Downloads -> Hubay
using below commands:
Once you are in the folder, install the NPM by running the following command and using sudo
:
Upon completing all above steps, you will be able to build the app in iOS or Android simulator. Details about how to build the app for iOS and Android is mentioned in upcoming sections of this documentation.
You can install Xcode via the Mac App Store. By installing Xcode, will also install the iOS Simulator and all necessary tools to build your iOS app. To download Xcode
You can install Android Studio by downloading the setup file from the official developer portal of Android developer. To download Android Studio