microsoft / studentambassadors

This repository is for Microsoft Learn Student Ambassadors.
MIT License
130 stars 47 forks source link

Creating an Azure Virtual Machine And running a React App #107

Open kelcho-spense opened 1 year ago

kelcho-spense commented 1 year ago

My MLSA Profile

This is a summary of my blog.

  1. Create an Azure Virtual Machine in the Azure portal.
  2. Connect to the virtual machine via Remote Desktop Protocol (RDP).
  3. Install Node.js on the virtual machine.
  4. Build your React app by running "npm run build" in the terminal.
  5. Transfer the "build" folder to the virtual machine using an FTP client.
  6. Navigate to the "build" folder on the virtual machine and start the server by running "node server.js".
  7. Access your app by visiting the public IP address of the virtual machine in a browser.