mspnp / samples

https://azure.com/architecture
MIT License
125 stars 141 forks source link

Nothing in README on how to run the app #195

Open sunnycarter opened 2 years ago

sunnycarter commented 2 years ago

I have found this app which is linked from https://docs.microsoft.com/en-us/azure/architecture/framework/resiliency/business-metrics#understand-service-level-agreements, but I do not know what a React app is or how to run it, and the Readme isn't helpful.

The link to Create React App tells me how to create one but I just want a set of instructions telling me how to run this app.

Please could some be added??

thommck commented 1 year ago

Agreed. People come here to get the SLA estimations and figuring out how to run this app is too much of a barrier

thommck commented 1 year ago

I managed to get this running and then found out someone else had already published it too! You can go to my version (literally a publish of this repo) - https://slaestimator-thom.azurewebsites.net/ Someone else's version (I don't know if they changed anything) - https://slaestimator.aztoso.com/

If you want to publish yourself then do the following steps.

  1. Download and install the free Visual Studio Community edition
  2. Download and install Node.js
  3. Download this repo as a ZIP and
  4. Extract the "\samples-main\Reliability\SLAEstimator\SLAEstimatorSLAEstimator" folder to somewhere local on your disk
  5. Double-click the "SLAEstimator.sln" to open in the solution in Visual Studio
  6. Click the "Start Debugging" button and it should load a local browser session where you can use the tool

For a step further you can use VStudio to publish this to Azure App Services. I did so using the free Linux tier and it seems to be running fine