Friday, November 22, 2019

ReactJS deployment in IIS Server

ReactJS Deployment in IIS Server


I guess you had already created the ReactJS and build using the command yarn build (or) npm run build.  You have all build folder.

If not you can Click here for refer of creating the ReactJS app & build the app. 

It is straight forward in deploying IIS Server.

Step 1: Copy the build folder inside the root of the application
Step 2: create an folder in any drive and copy the build folder inside the created folder
Step 3: Open IIS Server  and right click on the Sites and select the "Add Website.." option

Step 4: Copy the path in the "Physical path" of build folder then check the url that you had create or click on the Browse.  Then you can see the application as started.

It is for deploying the application. 

No comments:

Post a Comment