Last active
April 21, 2020 13:10
-
-
Save xcession/f72098c0a4fdb8c2a665eac531924d77 to your computer and use it in GitHub Desktop.
Revisions
-
xcession revised this gist
Apr 21, 2020 . 1 changed file with 8 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,22 +14,27 @@ $ choco install node.js $ choco install watchman ``` - Install Python 2 ``` $ choco install python2 ``` - Install Yarn ``` $ choco install yarn ``` - Install JDK ``` $ choco install jdk8 ``` - Install Android Studio ``` $ brew cask install android-studio ``` - Install Android SDK - Open **SDK Manager** - Select **SDK Platforms** tab @@ -49,7 +54,9 @@ $ brew cask install android-studio C:\Users\username\AppData\Local\Android\Sdk ``` > Make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Preferences" dialog, under **Appearance & Behavior → System Settings → Android SDK** - Create Android Virtual Device using the **AVD Manager** - Run `react-native` and `expo` without global install - To create `react-native` project ``` @@ -59,6 +66,7 @@ $ brew cask install android-studio ``` $ npx expo init <project> ``` - *(Optional)* Install React Native - Using `npm` ``` -
xcession revised this gist
Apr 21, 2020 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -49,6 +49,7 @@ $ brew cask install android-studio C:\Users\username\AppData\Local\Android\Sdk ``` > Make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Preferences" dialog, under **Appearance & Behavior → System Settings → Android SDK** - Create Android Virtual Device using the **AVD Manager** - Run `react-native` and `expo` without global install - To create `react-native` project ``` -
xcession revised this gist
Apr 21, 2020 . 1 changed file with 1 addition and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -68,13 +68,4 @@ $ brew cask install android-studio ``` $ yarn global add react-native-cli $ yarn global add expo-cli ``` -
xcession revised this gist
Apr 21, 2020 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,6 +69,7 @@ $ brew cask install android-studio $ yarn global add react-native-cli $ yarn global add expo-cli ``` - To create `react-native` project ``` $ react-native init <project> -
xcession revised this gist
Apr 21, 2020 . 1 changed file with 11 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -50,11 +50,11 @@ $ brew cask install android-studio ``` > Make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Preferences" dialog, under **Appearance & Behavior → System Settings → Android SDK** - Run `react-native` and `expo` without global install - To create `react-native` project ``` $ npx react-native init <project> ``` - To create `expo` project ``` $ npx expo init <project> ``` @@ -68,4 +68,12 @@ $ brew cask install android-studio ``` $ yarn global add react-native-cli $ yarn global add expo-cli ``` - To create `react-native` project ``` $ react-native init <project> ``` - To create `expo` project ``` $ expo init <project> ``` -
xcession revised this gist
Apr 21, 2020 . 1 changed file with 10 additions and 10 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -49,7 +49,16 @@ $ brew cask install android-studio C:\Users\username\AppData\Local\Android\Sdk ``` > Make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Preferences" dialog, under **Appearance & Behavior → System Settings → Android SDK** - Run `react-native` and `expo` without global install - `react-native` ``` $ npx react-native init <project> ``` - `expo` ``` $ npx expo init <project> ``` - *(Optional)* Install React Native - Using `npm` ``` $ npm install -g react-native-cli @@ -59,13 +68,4 @@ $ brew cask install android-studio ``` $ yarn global add react-native-cli $ yarn global add expo-cli ``` -
xcession revised this gist
Apr 20, 2020 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,6 +46,7 @@ $ brew cask install android-studio - Click on **New** ``` ANDROID_HOME C:\Users\username\AppData\Local\Android\Sdk ``` > Make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Preferences" dialog, under **Appearance & Behavior → System Settings → Android SDK** - Install React Native -
xcession revised this gist
Apr 19, 2020 . 1 changed file with 1 addition and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,11 +45,7 @@ $ brew cask install android-studio - Click on **Environment Variables...** - Click on **New** ``` ANDROID_HOME ``` > Make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Preferences" dialog, under **Appearance & Behavior → System Settings → Android SDK** - Install React Native -
xcession revised this gist
Apr 19, 2020 . 1 changed file with 22 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,6 +30,28 @@ $ choco install jdk8 ``` $ brew cask install android-studio ``` - Install Android SDK - Open **SDK Manager** - Select **SDK Platforms** tab - Check **Show Package Details** in the bottom right corner - Expand `Android 9 (Pie)` - Check `Android SDK Platform 28` - Check `Google APIs Intel x86 Atom System Image` - Click "Apply" to download and install the Android SDK - Configure ANDROID_HOME environment variable - Open the **System** pane under **System and Security** in the Windows Control Panel - Click **Change settings...** - Open **Advanced** tab - Click on **Environment Variables...** - Click on **New** ``` export ANDROID_HOME=$HOME/Library/Android/sdk export PATH=$PATH:$ANDROID_HOME/emulator export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$ANDROID_HOME/tools/bin export PATH=$PATH:$ANDROID_HOME/platform-tools ``` > Make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Preferences" dialog, under **Appearance & Behavior → System Settings → Android SDK** - Install React Native - Using `npm` ``` -
xcession revised this gist
Apr 18, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Windows React/React Native ``` - Install Node & Watchman ``` $ choco install node.js $ choco install watchman -
xcession revised this gist
Apr 18, 2020 . No changes.There are no files selected for viewing
-
xcession created this gist
Apr 18, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,52 @@ # Windows React/React Native Development Environment ``` _ __| | _____ __ ___ _ ____ __ / _` |/ _ \ \ / / / _ \ '_ \ \ / / | (_| | __/\ V / | __/ | | \ V / \__,_|\___| \_/ \___|_| |_|\_/ Windows React/React Native ``` - Install Node.js ``` $ choco install node.js $ choco install watchman ``` - Install Python 2 ``` $ choco install python2 ``` - Install Yarn ``` $ choco install yarn ``` - Install JDK ``` $ choco install jdk8 ``` - Install Android Studio ``` $ brew cask install android-studio ``` - Install React Native - Using `npm` ``` $ npm install -g react-native-cli $ npm install -g expo-cli ``` - Using `yarn` ``` $ yarn global add react-native-cli $ yarn global add expo-cli ``` - Run `react-native` and `expo` without global install - `react-native` ``` $ npx react-native init <project> ``` - `expo` ``` $ npx expo init <project> ```