Skip to content

NTIG-Uppsala/checkout-system-cafe

Repository files navigation

checkout-cafe

This project is as point of sale system for a cafe, made with WPF and C#

Development Environment Standard

IDE

Visual Studio 2022, latest community version at the time of commit download here

OS

  • Windows 10 Education, version 21H2
  • OS-version: 19044.3693

Programming Languages

  • C# v. 12
  • .NET v. 8.0

Coding Standard

  • Follow the .editorconfig file for coding standard, located in the project folder named "checkout-system-cafe"

Extensions

  • FlaUI.UIA3

Documentation

Setup

  • Install FlaUI according to the instructions in the following video
  • Install FlaUInspect to find names, IDs and file paths easier
    • Download here
    • Instructions for use here
  • To run the tests, you have to debug the checkout-system-cafe program
    • It should look like this, if it does then press the green run button
      image
    • The following files should then be created in the net8.0-windows folder:
      image
  • If any code is changed in the checkout-system-cafe project then you have to debug again following the instructions above
    • This is for tests to function correctly

Use the .editorconfig file (code analysis system)

  • To use the code analysis system, you must start it manually
  • Run the command "dotnet format" in the terminal
  • The system will then review and correct the code, so it follows the editorconfig standard

Publish released program

  • Open the project in Visual Studio, which you want to publish
  • Enter command "dotnet publish" in the Visual Studio terminal
  • Path to the created release is mentioned in the terminal
  • Select all files in the publish folder, zip all and rename the zipped file "CheckoutSystemCafe.zip"
  • Follow these instructions in order to publish the release on GitHub

Run released program

  • Enter the following link
  • Download "CheckoutSystemCafe.zip" underneath "Assets"
  • Extract the downloaded folder
  • Enter the "CheckoutSystemCafe" folder
  • Run the "checkout-system-cafe.exe" file, the program window should then start
  • If you get "Windows has protected your computer" then press "More information"
  • image
  • And then you press "run anyway", the program window should then start
  • image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages