Skip to content

nogibjj/Cindy_Gao_week12_DockerizedApplication

Repository files navigation

Week 12 Dockerized Application

Cindy_Gao_week12_DockerizedApplication

This project is a simple Flask-based web application designed to send health reminders for water consumption, stand-up activities, and daily exercises. The app will periodically display reminders to the user and can be deployed as a Docker container.

Project Overview:

The Health Reminder App is a simple web app that helps users maintain healthy habits. It sends reminders for:

Drinking water – reminds users to drink water regularly.
Standing up – encourages users to take breaks and stretch.
Daily exercise – motivates users to do some physical activity.
The app is built with Flask and Docker, making it easy to deploy and run on any system. It’s designed to help people stay on track with basic health goals in a simple and convenient way.

Project Structure:

CINDY_GAO_WEEK12_DOCKERIZEDAPPLICATION
│
├── .devcontainer/
│   └── devcontainer.json
│
├── .github/
│   └── workflows/
│       └── actions.yml
│
├── .vscode/
│   └── settings.json
│
├── images/
│   └── terminal_dicker.jpg
│   └── docker_log.jpg
│
├── .gitignore
│
├── app.py
├── Dockerfile
├── Makefile
├── README.md
└── requirements.txt

Here’s a sample README for your project:


Getting Started

Installation

  1. Clone the repository:
git clone https://github.com/JiaxinGao1997/health-reminder-app.git
cd health-reminder-app
  1. Build and run the Docker image:
docker build -t health-reminder-app .
docker run -d -p 8080:5000 health-reminder-app

docker_push

  1. Open the app in your browser by visiting http://localhost:8080. image

Docker Hub

The Docker image is pushed to Docker Hub for easy access and deployment. You can pull the image using the following command:

docker pull jiaxingao1997/health-reminder-app:latest

Logs

To view logs from the container, use the following command:

docker logs <container_id>

docker_log

Pushing to Docker Hub

To push the Docker image to Docker Hub:

docker tag health-reminder-app jiaxingao1997/health-reminder-app:latest
docker push jiaxingao1997/health-reminder-app:latest

dockerhub

About

Create a simple python application containerized with a dockerfile.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published