From 14b7de5886369255b7b53b8f650c0b680958104c Mon Sep 17 00:00:00 2001 From: Berke Alp Caliskan Date: Wed, 20 Apr 2022 23:28:57 +0300 Subject: [PATCH] Updated README.md --- README.md | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35af3ee..5ae3c54 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,38 @@ After you clone this repository or simply downloaded the files, you must fill in configuration fields in `appsettings.Development.json`. Then run the SQL script named `Structure.sql` on your **PostgreSQL** server. +You can change listening ports `Properties/launchSettings.json` +Here is the default ports for each environment: + + + + + + + + + + + + + + + + + + +
EnvironmentHTTPHTTPS
Development70007001
Production50005001
+ ### Building -You can build the project using: +You can build the project using launch profiles. + +If you want to build the project using **development** environment, execute: +```shell +$ dotnet run --launch-profile "Development" +``` +If you want to build the project using **production** environment, execute: ```shell -$ dotnet build YmyPixels.sln +$ dotnet run --launch-profile "Production" ``` ### Endpoints