Pizza Decider is a web application designed to help you decide which pizza to order. Instead of randomly choosing any pizza, the application allows you to input your favorite pizzas, increasing their chances of being selected through a weighted random selection process.
- Favorite Pizzas Input: Enter your favorite pizzas to increase their likelihood of being chosen.
- Weighted Random Selection: Enhances the probability of selecting a pizza from your favorites.
- Simple Interface: Easy-to-use interface to quickly get a pizza suggestion.
- Docker
- Python 3.7 or higher (if running without Docker)
- pip (Python Package Installer) (if running without Docker)
- Virtualenv (optional, but recommended if running without Docker)
- Clone the repository:
git clone https://github.com/maroskolarik/pizza-decider.git
- Navigate to the project directory:
cd pizza-decider - Build the Docker image:
docker build -t pizza-decider . - Run the Docker container:
docker run -p 5000:5000 pizza-decider
- Open your web browser and navigate to:
http://localhost:5000
- Clone the repository:
git clone https://github.com/maroskolarik/pizza-decider.git
- Navigate to the project directory:
cd pizza-decider - (Optional) Create a virtual environment and activate it:
python -m venv env source env/bin/activate # On Windows, use `env\Scripts\activate`
- Install the dependencies:
pip install -r requirements.txt
- Start the development server:
python app.py
- Open your web browser and navigate to:
http://localhost:5000
- Enter your favorite pizzas in the provided interface.
- Click the button to randomly select a pizza.
- The application will increase the probability of selecting a pizza from your favorites using weighted random selection.
For any questions or suggestions, please feel free to open an issue on GitHub or contact the repository owner.