You need:
- Docker
- Java 8 or 11.
- For best experience see Developer Setup
- Clone parent repo
git clone --recursive [email protected]:aem-design/aemdesign-parent.git
- Start AEM Stack
docker-compose up
- Deploy Core and Support
docker-compose up author-deploy-core author-deploy-support
- Open
http://localhost
and access Services :D
Following is a description of each repo and their purpose.
For more information see Project Artifacts
Repo | Notes |
---|---|
aemdesign-parent/ | root repo for devops script and automation |
aemdesign-aem-core/ | primary repo for aemdesign code artifacts |
aemdesign-aem-support/ | repo with reference implementation |
aemdesign-operations/ | operations and deployment projects |
aemdesign-archetype/ | archetype project for new projects |
You can monitor logs of containers by either using Docker container logs interface or manually using docker:
docker logs -f aemdesign-parent_author_1
If your container is not configured to output all log to console then you can use the exec to tail the logs directly
docker exec -it aemdesign-parent_author_1 tail -f crx-quickstart/logs/error.log
Tail container log from a specific date
docker logs -ft aemdesign-parent_author_1 --since 2019-01-18
You can remove container logs like this
docker run --rm -v /var/lib/docker:/var/lib/docker alpine sh -c "echo '' > $(docker inspect --format='{{.LogPath}}' aemdesign-parent_author_1)"