diff --git a/README.md b/README.md index 0b47340eb..8a649b4bc 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ When the API receives an HTTP Request, it is routed to the Controller method wit - **Copy the `appsettings.Development.json` file.** This file contains environment variables used to configure the application for local development. On the VM, it can be found in the folder `C:\360ConfigFiles`. Copy it to the same folder as the default `appsettings.json` file in the project. To find that folder in Visual Studio, look in the solution explorer on the right and open the `Gordon360` folder. Right-click on `appsettings.json` and select "Open Containing Folder". - **Set non-SSL and SSL port numbers.** The front-end (UI) code connects with the back-end (API) through two ports. These should be chosen to be different than the ports used by the Production and Train servers, and should also be different than ports used by other developers. Follow any instructions given to you about choosing port numbers. To set them in Visual Studio, use the solution explorer on the right and open `Gordon360 > Properties > launchSettings.json`. - + - Find the `applicationUrl` property in the `Development` section of `profiles`. and update the string assigned to it to use your chosen port numbers. For example, if you chose ports 51620 (for non-SSL `http://`) and 51621 (for SSL `https://`), change `applicationUrl` to `"https://localhost:51621;http://localhost:51620"`. - A few lines above, edit the `launchUrl` string (still within the `Development` section) to use your chosen SSL port number. In our example the string becomes `"https://localhost:51621/swagger"`.