Skip to content

Trabajo práctico de la materia Ingenieria de Software I - FIUBA 2C2024

Notifications You must be signed in to change notification settings

Cristhian-Noriega/tp-is1-grupo12

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TP Ingenieria de Software I - 2C2024

Run with docker

To build and run the containers:

docker-compose up --build

The env vars are set on a .env file at root of the project

Access the API

Access the PostgreSQL Database

  1. Open a new terminal and use the following command to enter the PostgreSQL container:

    docker exec -it is1_db psql -U is1_admin -d orderdb
  2. Once inside the container, you can run SQL commands to inspect the database, like:

    \dt   -- List all tables
    \conninfo -- Check connection

Access pgAdmin via Web

To access the PostgreSQL database using the web interface:

  1. After running docker-compose up --build, pgAdmin will be available at http://localhost:8081.

  2. Log in using the following credentials (defined in the docker-compose.yml):

    • Email: admin@admin.com
    • Password: admin

Stop the containers

To stop the containers, press CTRL + C in the terminal where Docker Compose is running, then clean up the containers:

docker-compose down

About

Trabajo práctico de la materia Ingenieria de Software I - FIUBA 2C2024

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published