To create a new project using the barebone boilerplate:
git clone git@github.com:abisalde/ReactNativeTemplate.git ReactNativeTemplate
npx react-native-rename "App Name" -b "com.app-name.app"
↗️ Checkout react-native-rename
Clean up the files from the example repository and do not forget to install the dependencies
yarn install
yarn run clean-up
yarn install && npx pod-install
(if you use pods)yarn start
react-native run-android
(if you use android)react-native run-ios
(if you use ios)
Before doing anything else, please simply run the command to initalize the husky. If you do not run clean-up part you should run the husky setup by yourself
yarn run husky:setup
husky:setup
will handle the initizalition, installation and ready to use commitlint
and prettier
.
yarn install
cd ios && pod install
cd .. && react-native run-ios/android
yarn install
cd android && mkdir local.properties
nano local.properties
Make sure that set your right path of Android SDK
Replace your machine name instead of username
sdk.dir=/Users/username/Library/Android/sdk
Replace your machine name instead of username
sdk.dir=/Users/username/Library/Android/sdk