This guide describes how to start Michman. It is usefull, if you don’t use Michman in containers, otherwise Michman starts automatically.
Don’t forget to fill the config.yaml file.
Also, you can use mannualy startup. First, build proto-file:
./build.sh proto
Manually launch ansible_runner service:
go run ./launcher/ansible_launcher.go ./launcher/main.go
Manually launch ansible_runner service specifying config and port, defaults are config path in Michman root and 5000 as used port:
go run ./launcher/ansible_launcher.go ./launcher/main.go --config /path/to/config.yaml --port PORT
Manually launch http_server:
go run ./rest/main.go
Manually launch http_server specifying config, port and launcher address, defaults are config path in Michman root, 8081 as used port and localhost:5000 for launcher address:
go run ./rest/main.go --config /path/to/config.yaml --port PORT --launcher launcher_host:launcher_port
Furthermore, you can compile michman services with build.sh script:
./build.sh compile
Then, launch binary files. Http-server:
./http --config /path/to/config.yaml --port PORT --launcher launcher_host:launcher_port
Launcher service:
./launch --config /path/to/config.yaml --port PORT