Install a service
Install from Git
Section titled “Install from Git”Pass any source accepted by git clone:
macaron install https://github.com/example/macaron-service-dashboard.gitThe destination name comes from the repository name. A leading macaron-service- prefix is removed, so the example above becomes dashboard.
Choose a branch or an explicit service name when needed:
macaron install --branch develop --name dashboard \ https://github.com/example/dashboard.gitInstall from a local directory
Section titled “Install from a local directory”macaron install ./my-serviceMacaron copies the directory, including hidden files and symbolic links. The source does not need to be a Git repository. --branch cannot be used with a local directory.
Build and validate
Section titled “Build and validate”If .macaron/build exists, Macaron asks before running it. Use --yes for unattended installation or --skip-build to bypass it:
macaron install --yes <source>macaron install --skip-build <source>If .macaron/doctor exists, it runs after the build. A failed doctor check is reported but does not remove the installed service. Skip it with --skip-doctor.
Naming and conflicts
Section titled “Naming and conflicts”A service name must be a single, non-empty path component. Names containing / or \\, and the names . and .., are rejected. Installation also stops if an enabled service with the same destination name already exists.