eShopOnWeb

(β˜… 10,691)

Sample ASP.NET Core 8.0 reference application, now community supported: https://github.com/NimblePros/eShopOnWeb

  • .dockerignore
  • .editorconfig
  • .gitattributes
  • .gitignore
  • azure.yaml
  • CodeCoverage.runsettings
  • Directory.Packages.props
  • docker-compose.dcproj
  • docker-compose.override.yml
  • docker-compose.yml
  • eShopOnWeb.sln
  • Everything.sln
  • global.json
  • LICENSE
  • README.md

πŸš€ Installation Guide

1. Get the code
git clone https://github.com/dotnet-architecture/eShopOnWeb

Downloads the entire project code from GitHub to your computer.

cd eShopOnWeb

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
curl -fsSL https://aka.ms/install-azd.sh | bash

Downloads and runs the official install script in one line β€” this handles the full setup automatically.

βœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Docker

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker-compose build

Runs the command against the services defined in the compose file.

docker-compose up

Runs the command against the services defined in the compose file.

βœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

4. .NET

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • .NET SDK The SDK required for the dotnet command.
azd init -t dotnet-architecture/eShopOnWeb

Type this command into your terminal and run it.

dotnet tool update --global dotnet-ef

Type this command into your terminal and run it.

dotnet restore

Downloads the packages the project depends on.

dotnet tool restore

Type this command into your terminal and run it.

dotnet ef database update -c catalogcontext -p ../Infrastructure/Infrastructure.csproj -s Web.csproj

Type this command into your terminal and run it.

βœ… After dotnet run, check the message or address shown in the terminal.

Pulled directly from this repo's README.

// repository documentation