The Cake Buyer App is a simple GUI application developed in Python using Tkinter. It helps a group of friends determine who should buy the cake next, ensuring everyone pays approximately the same amount over time.
Before running the Cake Buyer App, ensure you have Python installed on your computer. This application was developed using Python 3.8 or newer. You can download Python from https://python.org.
First, clone the repository or download the cake_buyer_app.py
script to your local machine. You can do this using Git or by directly downloading the file if it's hosted online.
git clone https://github.com/mrmultifunk/who-buys-the-cake.git
cd who-buys-the-cake
Navigate to the project directory and create a Python virtual environment. This will allow you to install packages without affecting the global Python installation.
python -m venv venv
This command creates a new directory named venv
where the virtual environment files are stored.
Before running the script or installing any dependencies, activate the virtual environment:
On Windows:
.\venv\Scripts\activate
On macOS and Linux:
source venv/bin/activate
Currently, the Cake Buyer App only requires Tkinter, which is included with Python.
With the virtual environment activated and dependencies installed, you can run the application:
python cake_buyer_app.py
To stop the application, simply close the application window. To deactivate the virtual environment and return to your global Python environment, use the following command:
deactivate
Contributions to the Cake Buyer App are welcome. Please fork the repository, make your changes, and submit a pull request.