Simple Checkout System (AGRICHAIN Assignment)

How To Run

  • clone this repository

    $ git clone https://github.com/moinologics/checkout-system
    $ cd checkout-system
  • Non Docker Method

    • Requirements

      • python v3 should be installed on your machine
    • install the required packages (only required when using external packages)

      $ python -m pip install -r requirements.txt
    • Run Checkout System

      $ python checkout.py
    • Run Unit Tests

      $ python test_checkout.py
  • Docker Method

    • Requirements

      • Docker should be installed on your system
    • Build Docker Image

      $ docker build -t agrichain .
    • Run Checkout System

      $ docker run --rm -it agrichain
    • Run Unit Tests

      $ docker run --rm agrichain test_checkout.py