Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.04 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.04 KB

Yet Another Checkout System (YACS) based of Ruby

Class Diagram

The below Class Diagrams describes all the implemented classes and their relationships.

YACS Class Diagram

There are 2 ways to try out the code sample with Docker or without Docker.

Note: This code was tested with Ruby 2.4.5 and 2.6.5

1. Run code sample with Docker

Install Docker if you don't have it yet.

git clone git://github.com/developertogo/yacs-checkout.git
cd yacs-checkout
docker build -t developertogo/yacs-checkout .
docker run -it --rm developertogo/yacs-checkout

2. Run code sample without Docker

Install Ruby, and bundler if you don't have it already, as follows: gem install bundle.

git clone git://github.com/developertogo/yacs-checkout.git
cd yacs-checkout
bundle install
ruby yacs_register.rb

Unit Tests

Simply run:

$ rspec