- Install
pre-commit
via either:pip install pre-commit
(requires pip and python to be installed), orbrew install pre-commit
.
- Install the hooks:
pre-commit install
Software | Version |
---|---|
CocoaPods (Xcode CLI tools) |
N/A |
node |
v16+ |
Xcode |
N/A |
-
Install prerequisites - Skip if already installed
-
Install XCode via app store (This can take between 10 minutes to 3 hours).
-
Install CocoaPods. This should be part of XCode command line tools.
xcode-select --install
-
Install
node
v16+
-
-
Install npm packages
cd <project_directory>/packages/chess.ts npm install cd <project_directory>/packages/TorneloScoreSheet npm link ../packages/chess.ts npm install
-
Install iOS packages
cd <project_directory>/ios pod install cd ..
-
Run simulator
-
Start
Xcode
-
Run the following in the terminal
cd <project_directory> npm run ios
-
-
Install prerequisites:
-
Android Debug Bridge
-
Java runtime
-
Android Development Environment (Android Studio)
-
For mac users, add this to your
~/.bash_profile
or~/.zprofile
or whatever environment you use:export ANDROID_SDK_ROOT=~/Library/Android/sdk
-
-
Enable debugging over USB on android device
-
Plug in USB and connect to device
-
Run
npm run android