Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 535 Bytes

File metadata and controls

26 lines (16 loc) · 535 Bytes

PLAY WITH POSTGRES

This is a simple setup to play with postgres database using docker and practice some queries using dvdrental database.

USAGE

# Clone Repo
git clone <repo-url>

# Change Directory
cd databases/postgres/play-with-postgres

# Run Docker Compose
docker-compose up -d

# Connect to Postgres
docker-compose exec postgres psql -U postgres -d dvdrental

# Run Queries

# Stop Docker Compose

Note: you can use any postgres client to or pgadmin to connect to the database from localhost:5433