-
Notifications
You must be signed in to change notification settings - Fork 58
Command Line
The AEM Demo Machine is delivered as an ANT project.
Used from a Command Line, the following targets are available:
Target | Description | Properties | Comments |
---|---|---|---|
install | Installs then starts a new baseline configuration, using a number of properties to configure your new demo instance | demo.build, demo.jar, demo.store, demo.type, demo.srp, demo.license, demo.servicepack | All the properties come with some default values, so they all are optional. See the Samples paragraph for typical usage patterns. For the "ant install" command to work without using the -Ddemo.build parameter, you need to have a file named snapshot.jar under ./dist/bin, unless you update the default demo.jar property value in ./conf/build-personal.properties |
demo | Installs then starts a new demo configuration the loads a set of demo packages for typical AEM demos | Same as install | The quickest way to get a full demo environment ready to go! Essentially, this target does install+configure |
demo_sites Installs then starts a new demo configuration optimized for AEM Sites Same as install The quickest way to demonstrate all of AEM Sites capabilities. This includes the Site Design Wizard and the Translations.com integration. If you want to include AEM Screens, run the "ant download_sites" target first. | |||
demo_communities Installs then starts a new demo configuration optimized for AEM Communities Same as install The quickest way to demonstrate all of AEM Communities capabilities! Essentially, this target does install+configure+communities | |||
demo_assets Installs then starts a new demo configuration optimized for AEM Assets Same as install The quickest way to demonstrate all of AEM Assets, including Dynamic Media, capabilities. Essentially, this target does install+configure+assets | |||
demo_forms Installs then starts a new demo configuration optimized for AEM Forms Same as install The quickest way to demonstrate all of AEM Forms capabilities. This works only on MacOS. Includes the Forms add-on and the Forms demo site. Essentially, this target does install+configure+forms | |||
demo_apps Installs then starts a new demo configuration optimized for AEM Apps Same as install The quickest way to demonstrate all of AEM Apps capabilities. This target does install + configure + apps | |||
demo_commerce Installs then starts a new demo configuration optimized for AEM Commerce Same as install The quickest way to demonstrate all of the AEM Commerce capabilities with Elastic Path. This target does install + configure + commerce | |||
demo_kitchensink Installs then starts a new demo configuration with all possible options for Sites, Communities, Assets and Forms Same as install The quickest way to demonstrate AEM Sites, AEM Communities, AEM Apps, AEM Forms, AEM Assets... Essentially, this target does install+configure+assets+forms+communities | |||
download_snapshot Downloads the latest AEM snapshot from the Nexus Basel server as snapshot.jar under ./dist/bin None Proceed with caution as not all builds are stable (smile). You can change the downloaded file in the build.properties file via the demo.snapshot property. | |||
download_sites Downloads the latest AEM Sites feature pack from the Nexus Basel server as sites-fp.zip under ./dist/sites Note Contains the first release of AEM Screens | |||
download_communities Downloads the latest AEM Communities uber from the Nexus Basel server as communities.zip under ./dist/downloads None Proceed with caution as not all builds are stable. | |||
download_scorm Downloads the latest AEM Communities SCORM bundle None This is required if you intend to load SCORM compatible content (with tests and quizzes) in AEM Communities for enablement purposes | |||
download_forms Downloads the latest AEM Forms addons and Demo site from the Nexus Noida server under ./forms None Proceed with caution as not all builds are stable. | |||
download_livefyre Downloads the latest AEM/Livefyre integration feature pack None Proceed with caution as not all builds are stable | |||
start Starts an existing demo configuration using its name | |||
demo.build |
stop Stops an existing demo configuration using its name demo.build On Unix/MacOS, the target runs a Shell script with a kill -9 instructions, or Windows it runs a TASKKILL.EXE configure Uploads then installs a number of AEM packages into each of the AEM instances for a specific demo configuration demo.build The current AEM version is dynamically retrieved and determines where the packages are loaded from (e.g. /dist/packages/aem61 for AEM 6.1). You can add your own set of packages to the default infrastructure Downloads and installs MongoDB, SOLR, MySQL and FFMPEG None Caution: This works on MacOS only. MongoDB and SOLR are required when using the demo.srp=MSRP for AEM Communities or/and MongoMK via demo.store=crx3,crx3mongo options. MySQL and FFMPEG are required when using the "AEM Communities" enablement add-on and its SCORM tracking and reporting features. backup Creates a backup of an existing demo configuration using its name demo.build The target creates a new .zip file for each AEM instance of the demo configuration. This only works for TarMK based demo environments (doesn't support the crx3, crx3mongo demo.store property) restore Restores a backup of a demo configuration previously backed up, using its name demo.build archive Creates a new archived version of the AEM Demo Machine scripts and settings and add-on None The target creates a new .zip file, and doesn't include the demo configurations in it sites Loads the Sites demo assets demo.build The loaded packages can be found under /dist/sites communities Loads the system with new User Generated Content and Community sites demo.build The loaded packages can be found under /dist/communities. Content and site are mostly created from a script (therefore not in a package) out of .csv files under /dist/communities/sites and /dist/communities/content The following flags control what is created: demo.communities.samples.communities=[true|false], the standard Community sites using Geometrixx content demo.communities.samples.enablement=[true|false], the Enablement Community site using AEM 6.1 enablement content (add-on required) assets Loads the dynamic media demo assets demo.build The loaded packages can be found under /dist/assets apps Loads the apps demo assets demo.build The loaded packages can be found under /dist/apps commerce Loads the commerce demo assets demo.build The loaded packages can be found under /dist/commerce livefyre Loads the Livefyre demo assets demo.build The loaded packages can be found under /dist/downloads (use download_livefyre target to get the bits)