AEM Compose
Universal tool to manage AEM instances everywhere!
- Install Go: https://go.dev/doc/install,
- Set up shell, append lines ~/.zshrc with content below then restart IDE/terminals,
export GOPATH="$HOME/go"
export PATH="$GOPATH/bin:$PATH"
Ensure having installed Go then:
Use this method to develop comfortably the tool.
- Clone repository:
git clone git@github.com:wttech/aemc.git
- Enter cloned directory and run command:
make
*
*When using Git Bash on Windows, you will first need to add make
to your Git Bash installation:
- Go to ezwinports.
- Download
make-x.x.x-without-guile-w32-bin.zip
(get the newest version without guile). - Extract zip.
- Copy the contents to your
Git\mingw64\
merging the folders, but do NOT overwrite/replace any existing files.
Use this method to check particular commit/version of the tool.
- latest released version:
go install github.com/wttech/aemc/cmd/aem@latest
, - specific released version:
go install github.com/wttech/aemc/cmd/aem@v1.1.9
, - recently committed version:
go install github.com/wttech/aemc/cmd/aem@main
,
After installing AEM CLI by one of above methods now instruct the wrapper script to use it by running the following command:
export AEM_CLI_VERSION=installed
To start using again version defined in wrapper file, simply unset the environment variable:
unset AEM_CLI_VERSION
Simply run script:
sh release.sh <major.minor.patch>
It will:
- bump version is source files automatically,
- commit changes,
- push release tag that will initiate release workflow.