A s 70D1 imple cart checkout application
.
├── docs/ # Contains the code documentation
├── main.py # Main application file that is used to run the demo
├── README.md # This Readme file for the project
├── checkoutApp.py # The core logic file for the application
├── setup.py # Application installer and manager
├── tests/ # Contains all the unit test cases
└── utils/ # Contains commonly used utilities in the project
- Python 3.10+
- Python venv module (recommended)
Note: Instructions are mainly for Linux like systems but might work with other OS as well with little tweaks (not tested)
Clone the project
git clone git@github.com:gokuney/CheckoutApp.git
or
git clone https://github.com/gokuney/CheckoutApp.git
Go to the project directory
cd CheckoutApp
Create virtual environment(recommended)
python3 -m venv .env
Activate the virtual environment
source .env/bin/activate
Install the dependencies
python setup.py install
Now, run the application
python main.py
The test cases are kept in the tests
directory. To run the unit test cases(within virtual environment):
python -m pytest --verbose