upjohnc / leetcode_sql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Postgres set up for running this leetcode challenge link to challenge

Usage

  • start postgres instance
    • make start_psql
  • in another terminal attach to that postgres instance
    • make psql_repl
    • thing is the password to enter when prompted
    • you can now run all the queries you want. you will be in psql
    • \q will exit the psql
  • shut down the running postgres
  • go back to the terminal with the running postgres instance
    • crtl-c
    • make down_psql

About


Languages

Language:Makefile 73.6%Language:Dockerfile 26.4%