Skip to content

Latest commit

 

History

History
25 lines (25 loc) · 1.21 KB

LEARN.md

File metadata and controls

25 lines (25 loc) · 1.21 KB

Run in Microsoft Visual Studio Community 2019

  1. Setup DB by running 3 scripts in "src/WebSPA/sql"
  2. Open "src/MyAlbum.sln"
  3. Change Default connection string in either:
    1. React with: "src/WebSPA.React.Identity/appsettings.Development.json"
    2. Angular with: "src/WebSPA.Identity/appsettings.Development.json"
  4. Set Startup Projects using menu "Debug->Set Startup Projects..." for Debugging in either:
    1. React with projects: Web Apps/WebSPA.React.Identity and 3 projects in Services folder
    2. Angular with projects: Web Apps/WebSPA.Identity and 3 projects in Services folder
  5. Press F5 for Debugging

Run in Docker

  1. Install Docker.
  2. Open "src/Docker" folder and run:
docker-compose down
docker-compose build
docker-compose up
  1. Open "src/Docker" folder and install this SSL certificate to Local Computer's "Trusted Root Certification Authorities" folder:
File name: my-album.pfx
Password: 2u)TAa
  1. Verify by browsing https://localhost:5002/swagger/ successfully.
  2. Browse the website at http://localhost:5000/