Environmental Setup - nikhil-raina/info.me GitHub Wiki
Default required software:
Make sure that you already have Xcode and Android Studio installed in the system. Click on the link to access download and install Android Studio. Xcode is available on the MacOS Apps store.
After installing Android Studio, open it to complete the process of installing the SDK, NDK and the necessary JDK.
Install Visual Studio Code. This will be the primary editor for coding things down. Makes things extremely easier to maintain consistency between different platforms and the extension package is fantastic.
Mac OS
Download and install Node. Latest version. You can either go to the NodeJS or use HomeBrew to install Node. brew install node
Download and install Watchman. Lates version. brew install watchman
Download and install cocoapods. sudo gem install cocoapods
Python should already be installed in your system now. In order to check that out, type python -V on your cmd. If it doesnt show any version that means that python is not present in your system. It is recommended to use Python 3.X to ensure that the latest features are being used by your system. This link will take you to download and install python Python Mac OS Installer. It is advised to install the latest Stable version of python. Install the executable file of python. Coordinate with your colleague or your supervisor if you need extra help with this.
Now we are going to install a package manager for the Program. This will make things easy when it would come to updating plugins and making changes within the package.json and just dealing with the info.me package as a whole. Follow the directions to download and install Yarn on MacOS.
Homebrew
It is advised that all Apple Devices, iOS software, install Homebrew as it will make the process consistent and reduce the chances of variability in the setup of the info.me package. Enter the following command in your terminal
Download and install Node. Latest version. You can either go to the NodeJS
Setup the environment variables of Java Home and Android Home Env Variables.
Python should already be installed in your system now. In order to check that out, type python -V on your cmd. If it doesnt show any version that means that python is not present in your system. It is recommended to use Python 3.X to ensure that the latest features are being used by your system. This link will take you to download and install python Python Windows Installer. It is advised to install the latest Stable version of python. Install the executable file of python. Coordinate with your colleague or your supervisor if you need extra help with this.
Now we are going to install a package manager for the Program. This will make things easy when it would come to updating plugins and making changes within the package.json and just dealing with the info.me package as a whole. Use the installer for yarn here Yarn Windows installer
Check List
At this point, you should have all the necessary Softwares installed. In order to ensure that NodeJS, JDK, HomeBrew and Python is installed: python -V node -v npm -v brew -v pod --version yarn -v
React Native
yarn add -g react-native-cli. Here -g allows a global installation. It is recommended that you install React Native globally before getting into working with the package as it could ensure some level of consistent working of the directories with React Native. However, if you wish to install it locally, that is in a directory itself, remove the -g command from above and continue with the command line. Check if it got installed. react-native -v