Skip to content

Repo Setup

Nathan Wilson edited this page Mar 7, 2024 · 3 revisions

This setup process was done on an M1 Mac running Sonoma 14.2.1.

  1. Get local environment setup with latest brew, Xcode, and Android Studio.
% brew update
% brew upgrade

My current version of Xcode is 15.2. My current version of Androids Studio is Hedgehog 2023.1.1 Patch 2

  1. Check node version is latest LTS. After updating brew, the version of node installed in brew is v21.6.2. However, this is not an LTS version. Since I have nvm installed, I used nvm ls-remote to learn that the latests LTS version is v20.11.1 and installed that using nvm install v20.11.1.

The version of watchman installed by brew is 2024.01.22.00.

  1. Create vanilla local project. npx react-native@latest init MushroomObserver mv MushroomObserver mo-mobile

  2. Create empty repo in GitHub. Created the empty repo MushroomObserver/mo-mobile.

  3. Push local project repo to new GitHub repo. git remote add origin [email protected]:MushroomObserver/mo-mobile.git git push -u origin main

Clone this wiki locally