Skip to content

michalbanaszek/PizzaPortal

Repository files navigation

Pizza Portal Web Application

Getting Started

Use these instructions to get the project up and running

Prerequisites

You will need the following tools:

Setup

Follow these steps to get your development environment set up:

First option - using local machine

  1. Clone the repository
  2. Open terminal and enter the command cd PizzaPortal
  3. Next, enter the command cd PizzaPortal.WEB
  4. Modify connection strings in PizzaPortal.WEB/Installer/DatabaseInstaller from "DockerConnection" to "DefaultConnection"
  5. Generate localhost certificate for redirect HTTPS, open powershell and enter the command dotnet dev-certs https -ep $env:USERPROFILE\.aspnet\https\PizzaPortal.WEB.pfx -p <Password>
  6. Next, enter the command dotnet dev-certs https --trust, click yes if open dialog is show
  7. Next, generate key-value pair for certificate password to secret.json file, enter the command dotnet user-secrets set "Kestrel:Certificates:Development:Password" "<Password>"
  8. Next, generate key-value pair for connectingString to secret.json file, enter the command dotnet user-secrets set "ConnectionStrings:DefaultConnection" "Server=<YourLocalSQLInstance>;Database=<DatabaseName>;Trusted_Connection=True;MultipleActiveResultSets=true"
  9. Build solution dotnet build
  10. Run app dotnet run

Second option - using docker

  1. Clone the repository
  2. Open terminal and enter the command cd PizzaPortal
  3. Next, enter the command docker-compose -f "docker-compose.debug.yml" up --build

Technologies

  • .NET Core 5.0
  • Entity Framework Core 5.0
  • Entity Framework Core SqlServer 5.0
  • Bootstrap
  • MVC
  • Docker

Docker Hub Repository

https://hub.docker.com/repository/docker/biaaly13/pizzaportalweb

About

.NET MVC CORE, C#

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages