ladder99
ladder99 copied to clipboard
Refactor initial walkthrough
First create env config
TODO: Is .env creation enough? I think it is not, as the setups/example/ folder contains much more files. We might need to use l99 init first to _create a new setup folder`.
TODO: Is there a way to use some pre-created config to run some simulated machines and use the MTConnect data provided by Mazak? That would be nice to use as default example, as the current setups/example is blank (no machines are monitored) without adding some.
$repo_root/setups/example/.env
Load example env config
PATH="$PATH:$repo_root/shell" L99_HOME="$repo_root" L99_SETUP='' l99 use example
Build the Docker containers using Docker compose
PATH="$PATH:$repo_root/shell" L99_HOME="$repo_root" L99_SETUP='' l99 start
Check the status of Docker services
PATH="$PATH:$repo_root/shell" L99_HOME="$repo_root" L99_SETUP='' l99 status