-
Notifications
You must be signed in to change notification settings - Fork 1
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.
- Get local environment setup with latest
brew
,Xcode
, andAndroid 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
- 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 usednvm ls-remote
to learn that the latests LTS version is v20.11.1 and installed that usingnvm install v20.11.1
.
The version of watchman installed by brew is 2024.01.22.00.
-
Create vanilla local project.
npx react-native@latest init MushroomObserver
mv MushroomObserver mo-mobile
-
Create empty repo in GitHub. Created the empty repo MushroomObserver/mo-mobile.
-
Push local project repo to new GitHub repo.
git remote add origin [email protected]:MushroomObserver/mo-mobile.git
git push -u origin main