solairen / salarycalculator

A simple application that calculates the salary based on the hours specified and the hourly wage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SalaryCalculator

About:

Simple application that calculates the salary based on the specified hours and the hourly wage.

Language and Framework:

  • Language: C#
  • Framework: netCore 6.0
  • Tools: Wix Toolset

Additional information:

Add "C:\Program Files (x86)\WiX Toolset v3.11\bin" to user path.

To build as a standalone application that contains .msi installer:

  • OS: Windows

  • Use script:

    • build_windows.ps1

To build as a docker container:

  • OS in container: Linux

  • Use script:

    • build_docker.ps1

To build as a standalone application for Linux:

  • OS: Linux

  • Use script:

    • build_linux.ps1

To pull image from docker hub:

  • docker pull moleszek/salarycalculator:latest

Usage:

  • Windows:

    • From CMD/PowerShell run "C:\Program Files\Funny Company\SalaryCalculator.exe -h/hours 100 -w/hourly-wage 10
  • Docker:

    • docker run --rm moleszek/salarycalculator:latest -h/hours 100 -w/hourly-wage 10
  • Linux:

    • dotnet run SalaryCalculator.dll -h/hours 100 -w/hourly-wage 10

About

A simple application that calculates the salary based on the hours specified and the hourly wage.

License:MIT License


Languages

Language:C# 67.3%Language:PowerShell 21.9%Language:Dockerfile 10.8%