Azure-docs: Deploying to azure?

Created on 12 Feb 2019  Â·  9Comments  Â·  Source: MicrosoftDocs/azure-docs

When are you adding the tutorial on deploying to Azure?

In the meantime, is this how you would deploy?
1) Deploy the build folder of the react app as a static web app (per https://medium.com/@to_pe/deploying-create-react-app-on-microsoft-azure-c0f6686a4321). In this case using local git in the build folder only (as an example).
2) Deploy the express app as a separate web app. So at this point you have 2 web apps + the cosmos db.
3) configure CORS in the express web app to allow access from the react web app


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

cosmos-dsvc cxp product-question triaged

All 9 comments

@richprze Thank you for your interest in Azure cloud services. Just to clarify your question, are you asking for this scenario to be added as a tutorial, in the form of written documentation, that is part of the MicrosoftDocs repository? You have the ability to contribute and can submit this content to the repository. Please see the following: Microsoft Docs contributor guide overview

I am assigning the issue to the content author to evaluate and update as appropriate.

@johnpapa Given that the tutorial is entirely in video format and dated September 2017, this tutorial could use an update.

I believe Burke Holland wrote this. GitHub on my phone won’t tag for some reason. But you can tag him here.

Yeah - I think so. What is the ask here exactly? What do we need to update in the video?

@burkeholland The customer is looking to clarify specific steps to deploy to Azure:

  • Deploy the build folder of the react app as a static web app (per https://medium.com/@to_pe/deploying-create-react-app-on-microsoft-azure-c0f6686a4321). In this case using local git in the build folder only (as an example).
  • Deploy the express app as a separate web app. So at this point you have 2 web apps + the cosmos db.
  • configure CORS in the express web app to allow access from the react web app

Is this not the scope of the videos?

No - the video deploys these things as one project and uses the express server to serve the React app as opposed to using IIS to do it.

Although the customer is right here in terms of having the right steps.

@richprze The steps you are wanting to be confirmed are correct. Is there anything additional you need to move forward?

@richprze We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrdfuse picture mrdfuse  Â·  3Comments

spottedmahn picture spottedmahn  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

monteledwards picture monteledwards  Â·  3Comments

JamesDLD picture JamesDLD  Â·  3Comments