From 356f9a061ece60697cf4060a413cd090c2333eb9 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Thu, 20 Feb 2020 16:26:25 +0000 Subject: [PATCH] Deploy website Deploy website version based on 513cdc20f5af847c62eddd1477aa5cc156ac7c81 --- docs/next/environment-setup.html | 24 ++++++++++++++++-------- docs/next/environment-setup/index.html | 24 ++++++++++++++++-------- 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/docs/next/environment-setup.html b/docs/next/environment-setup.html index e9730b9db30..e203c0596d8 100644 --- a/docs/next/environment-setup.html +++ b/docs/next/environment-setup.html @@ -344,12 +344,16 @@ brew install watchman

Click "Next" then "Finish" to create your AVD. At this point you should be able to click on the green triangle button next to your AVD to launch it, then proceed to the next step.

Running your React Native application

+

Run react-native start inside your React Native project folder:

+
cd AwesomeProject
+npx react-native start
+

If you use the Yarn package manager, you can use yarn instead of npx when running React Native commands inside an existing project.

-

Run npx react-native run-ios inside your React Native project folder:

-
cd AwesomeProject
-npx react-native run-ios
+

react-native start starts Metro Bundler, which you can read more about here.

+

Run react-native run-ios inside your React Native project folder:

+
npx react-native run-ios
 

You should see your new app running in the iOS Simulator shortly.

AwesomeProject on iOS

@@ -361,16 +365,20 @@ npx react-native run-ios

The above command will automatically run your app on the iOS Simulator by default. If you want to run the app on an actual physical iOS device, please follow the instructions here.

Running your React Native application

-
-

If you use the Yarn package manager, you can use yarn instead of npx when running React Native commands inside an existing project.

-
-

Run npx react-native start inside your React Native project folder:

+

Run react-native start inside your React Native project folder:

cd AwesomeProject
 npx react-native start
 
+
+

If you use the Yarn package manager, you can use yarn instead of npx when running React Native commands inside an existing project.

+

On another terminal, run npx react-native run-android:

cd AwesomeProject
-npx react-native run-android
+npx react-native start
+
+

react-native start starts Metro Bundler, which you can read more about here.

+

Run react-native run-android inside your React Native project folder:

+
npx react-native run-android
 

If everything is set up correctly, you should see your new app running in your Android emulator shortly.

diff --git a/docs/next/environment-setup/index.html b/docs/next/environment-setup/index.html index e9730b9db30..e203c0596d8 100644 --- a/docs/next/environment-setup/index.html +++ b/docs/next/environment-setup/index.html @@ -344,12 +344,16 @@ brew install watchman

Click "Next" then "Finish" to create your AVD. At this point you should be able to click on the green triangle button next to your AVD to launch it, then proceed to the next step.

Running your React Native application

+

Run react-native start inside your React Native project folder:

+
cd AwesomeProject
+npx react-native start
+

If you use the Yarn package manager, you can use yarn instead of npx when running React Native commands inside an existing project.

-

Run npx react-native run-ios inside your React Native project folder:

-
cd AwesomeProject
-npx react-native run-ios
+

react-native start starts Metro Bundler, which you can read more about here.

+

Run react-native run-ios inside your React Native project folder:

+
npx react-native run-ios
 

You should see your new app running in the iOS Simulator shortly.

AwesomeProject on iOS

@@ -361,16 +365,20 @@ npx react-native run-ios

The above command will automatically run your app on the iOS Simulator by default. If you want to run the app on an actual physical iOS device, please follow the instructions here.

Running your React Native application

-
-

If you use the Yarn package manager, you can use yarn instead of npx when running React Native commands inside an existing project.

-
-

Run npx react-native start inside your React Native project folder:

+

Run react-native start inside your React Native project folder:

cd AwesomeProject
 npx react-native start
 
+
+

If you use the Yarn package manager, you can use yarn instead of npx when running React Native commands inside an existing project.

+

On another terminal, run npx react-native run-android:

cd AwesomeProject
-npx react-native run-android
+npx react-native start
+
+

react-native start starts Metro Bundler, which you can read more about here.

+

Run react-native run-android inside your React Native project folder:

+
npx react-native run-android
 

If everything is set up correctly, you should see your new app running in your Android emulator shortly.