Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 714 Bytes

File metadata and controls

30 lines (15 loc) · 714 Bytes

twotop-backend

Running locally

With Docker, spin up the db as a container and spin up the service as a process

  • Install Podman

  • podman-compose up

  • export INTERNAL_URL="postgres://twotop:twotop@localhost:5432/twotop"

  • go run main.go

Running locally for MacOS (M1)

With Docker, spin up the db as a container and spin up the service as a process

  • Install podman with brew: brew install podman

  • Install podman-compose

  • podman machine start

  • podman-compose up

  • export INTERNAL_URL="postgres://twotop:twotop@localhost:5432/twotop"

  • go run main.go