Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Lightning Talk: Provision local AEM instance with CONGA - adaptTo() 2017 in Berlin

License

Notifications You must be signed in to change notification settings

adaptto/2017-provisioning-local-aem-with-conga

Repository files navigation

adaptTo() 2017 - Lightning Talk: Provisioning local AEM instance with CONGA

Code samples for lightning talk at adaptTo() 2017 in Berlin:
https://adapt.to/2017/en/schedule/lightning-talks.html

Requirements

  • Java 8
  • Maven 3.3.9
  • AEM 6.3 Author running on port 4502
  • AEM 6.3 Publish running on port 4503 (optional)

Try it out

  • Deploy the sample application to your local AEM instances using the script
    • For author instance on port 4502: deploy_author.sh
    • For publish instance on port 4503: deploy_publish.sh
    • For both author and publish: deploy_author_publish.sh

What is it doing

The deploy scripts are really simple and mainly contain two commands:

  • Build the Demo application (including CONGA artifacts)
  • Upload the CONGA artifacts (=AEM packages) in the correct order to your local AEM instance(s)

What is generated by CONGA and uploaded with the second command:

  • The configuration of the local environments (only a few "high-level" switches) is done here: Environment: development.yaml
  • This CONGA role describes what configuration artifacts CONGA should generate Role: adaptto-provisionaem-aem-cms.yaml (and it inherits from the generic aem-cmsrole from CONGA AEM Definitions)
  • It includes a set of 3rdparty packages, in this case the AEM Core WCM Components and ACS AEM Commons
  • It includes the application packages including Sample Content
  • And configuration package dynamically generated by CONGA:
    • Generic AEM config e.g. to enable DavEx for CRX DE lite on development machines
    • A simplified DAM asset workflow
    • Replication Agent configuration (on author)
    • Parameterized OSGi configuration as defined in this template
    • Arbitrary content package with a languages node configuration to configure the AEM Translator (on author)

It's easy to add your own stuff in the same fashion.

The required CONGA maven plugins are configured in the wcm.io aem-global-parent POM.

Please note: this example includes an Application built in the JCR Content Loader (see this talk) - but the principle of provisioning a local AEM instance will be working in exactly the same way with FileVault XML-based application layouts.

About

Lightning Talk: Provision local AEM instance with CONGA - adaptTo() 2017 in Berlin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published