Use these instructions to get the project up and running
You will need the following tools:
Follow these steps to get your development environment set up:
- Clone the repository
- Open terminal and enter the command
cd PizzaPortal
- Next, enter the command
cd PizzaPortal.WEB
- Modify connection strings in
PizzaPortal.WEB/Installer/DatabaseInstaller
from "DockerConnection" to "DefaultConnection" - 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>
- Next, enter the command
dotnet dev-certs https --trust
, click yes if open dialog is show - Next, generate key-value pair for certificate password to secret.json file, enter the command
dotnet user-secrets set "Kestrel:Certificates:Development:Password" "<Password>"
- 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"
- Build solution
dotnet build
- Run app
dotnet run
- Clone the repository
- Open terminal and enter the command
cd PizzaPortal
- Next, enter the command
docker-compose -f "docker-compose.debug.yml" up --build
- .NET Core 5.0
- Entity Framework Core 5.0
- Entity Framework Core SqlServer 5.0
- Bootstrap
- MVC
- Docker
https://hub.docker.com/repository/docker/biaaly13/pizzaportalweb