Trinoor Dev Docs

Search

Search IconIcon to open search

Machine Setup

Last updated Oct 20, 2022

# Machine Setup

# Software Setup

# Install VSCode

Please install VSCode at https://code.visualstudio.com/. We are also using a curated set of configs and plugins for the project development which are VSCode specific.

# Install GitKraken

GitKraken is the tool used to browse the Git changes over time and has simple workspace support for teams: Install GitKraken.

# Install Brew

Open up your terminal, and copy-paste in the following command:

1
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install rvm

rvm is a tool that will help you manage Ruby versions and switch between them easily. Make sure ot install it using:

1
curl -sSL https://get.rvm.io | bash -s

This is important as when setting up building for iOS the React-Native docs will suggest one of several ruby version managers - make sure to use rvm. To switch to our required version of Ruby use: rvm install 2.7.5;

# Install Utilities

In the terminal, after installing brew, run the following commands:

1
brew install nvm watchman git yarn

# Installing Cocoapods

Run gem install cocoapods, make sure to not use Homebrew’s cocoapod install.

# Setup NodeJS

In your terminal, setup NodeJS using the following NVM commands:

1
2
3
nvm install 16
nvm use 16
nvm alias default 16

# Follow Android/iOS Development Setup

Open the ReactNative Environment Setup Docs and follow the setup for both Android and iOS.

# Project Initialization

Once the machine has been setup for development, follow the instructions at Project Initialization.