This is a simple web calculator application built with Flask. It allows users to perform basic operations, such as: addition, subtraction, multiplication, and division.
- Perform addition, subtraction, multiplication, and division
- Clear the input field
- Display the result of the calculation (what a normal calculator should do)
- Clone this repository:
git clone https://github.com/Pegoku/Calculator.git
- Navigate to the project directory:
cd Calculator
- Install the required packages:
pip install -r requirements.txt
- Run the application:
python start.py
This application can also be run using Docker. Here are the steps to do so:
- Build the Docker image:
docker build -t calc .
- Run the Docker container mounting the folder where the db will be stored:
docker run -p 5000:5000 calc
After running these commands, you can access the application at http://localhost:5000
.
Open your web browser and navigate to http://localhost:5000
to start using the application.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.