Requires a Postgres Database with following environment settings, can be through docker or any other service, .env file is used by the docker compose for a local container
POSTGRES_USER=username
POSTGRES_PASSWORD=password
POSTGRES_DB=default
HOST=localhost
- Clone Project and cd in
$ git clone git@github.com:antonizyla/IMDb6dos.git
$ cd IMDb6dos/
- Build the Project
$ go build .
- Seed the database with current IMDb dataset from the internet
$ ./IMDb6dos --seed
- Run the Program
$ ./IMDb6dos
Alternatively use the Makefile to Run
, Seed
and Clean