Use wsl terminal, not CMD or PowerShell on Windows
Golang >= 1.15 (In the container)
PostgreSQL >= 13.1 (In the container)
alpine >= 3.12 (In the container)
pachyderm ~= 1.11.7 (only ch09)
How to use
Docker
Compose up docker containers
# Default
(os)$ make up
# With build go binaries
(os)$ make up PKGS=1
Start and enter the execution mode to the container
(os)$ make run
Stop docker containers
(os)$ make stop
Remove docker compose
(os)$ make down
Build
(docker)$ cd tutorial_code_location
(docker)$ go build tutorial.go
# example
(docker)$ go build 01_read_csv_file.go
Execution
(docker)$ cd tutorial_code_location
(docker)$ ./tutorial
# example
(docker)$ ./01_read_csv_file
Aumotation
# build in anywhere
(docker)$ $MLGO/automation.sh build
# possible from ch01 to ch08
(docker)$ $MLGO/automation.sh build ch01
# clean up binary files in anywhere
(docker)$ $MLGO/automation.sh clean
# possible from ch01 to ch08 except deep_learning
(docker)$ $MLGO/automation.sh clean ch01
# execute binary files in anywhere
(docker)$ $MLGO/automation.sh run
# possible from ch01 to ch08 except deep_learning
(docker)$ $MLGO/automation.sh run ch01