Skip to content

alexcrocha/ACS-1220-intouch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intouch

This repository contains a Flask application named Intouch that uses PostgreSQL as its database. This application is Dockerized for easy development and deployment.

Demo

Intouch Demo (Username: demo, Password: demo)

Service status

Requirements

  • Docker
  • Docker Compose

Setup

  1. Clone the repository:

    git clone https://github.com/yourusername/intouch.git
    cd intouch
  2. Build and start the Docker containers:

    docker-compose up --build -d

    The -d flag will run the containers in the background. You can also omit this flag to run it in the foreground and view logs.

Accessing the Containers

Intouch Application

The Intouch Flask application will be running on http://localhost:5005.

PostgreSQL Database

The PostgreSQL instance will be accessible at localhost:5432 (or whichever port you specify in the docker-compose.yml).

Logs and Shell

  1. View logs:

    • Intouch: docker-compose logs intouch
    • PostgreSQL: docker-compose logs postgres
  2. Open a shell inside the containers:

    • Intouch: docker-compose exec intouch /bin/bash
    • PostgreSQL: docker-compose exec postgres psql -U in intouchdb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published