Skip to content

Latest commit

 

History

History
56 lines (49 loc) · 1.9 KB

BUILDING.md

File metadata and controls

56 lines (49 loc) · 1.9 KB

Building Planning Poker

Requirements

This application is based on Microsoft .NET Core 8 LTS. You need to have the SDK installed to build the app.

Classic .NET Build

Preparation

  1. Install the version of .NET Core SDK as documented the project file in the XML tag TargetFramework. Currently it's .NET 8.
  2. Clone the repo
    • git clone https://github.com/kksoftwareag/partypoker.git
  3. Navigate into the project directory
    • cd partypoker
    • cd PlanningPoker.Web

Option A: Publish, then run the binary

  1. Run the publish command
    • dotnet publish -o=publish
  2. Navigate into the output folder
    • cd publish
  3. Run the App
    • dotnet PlanningPoker.Web.dll
  4. Navigate with a Webbrowser to the url: localhost:5000

Option B: Run

  1. Run the app directly
    • dotnet run
  2. Navigate with a Webbrowser to the url: localhost:5000

Docker

Preparation

  1. Install docker
  2. Clone the repo
    • git clone https://github.com/kksoftwareag/partypoker.git
  3. Navigate into the solution directory
    • cd partypoker

Option A: Dockerfile

  1. Run docker build
    • docker build .

output:

[...]
=> => writing image sha256:bdf9fe339295350b11beadb3ee04e1ed92ea74c330c23b85c0a1f17537886471                       0.0s
  1. Copy the sha256 hash of the built image and then run the next command with that hash.
  2. Run the image
    • docker run bdf9fe339295350b11beadb3ee04e1ed92ea74c330c23b85c0a1f17537886471

Option B: docker-compose

  1. Run docker-compose
    • docker-compose up