Skip to content

Instantly share code, notes, and snippets.

@kevinweber

kevinweber/aemsync.sh

Last active Aug 12, 2016
Embed
What would you like to do?
AEMSync pushes changes into your local AEM instance. Run it so you don't have to manually run the maven build all the time. Note that aemsync works for many files (XML, HTML, CSS, ...) but not for all of them, especially Java files. UPDATE: Use the AEM Front solution instead: https://github.com/kevinweber/aem-front
#! /bin/bash
# https://www.npmjs.com/package/aemsync
# Usage: Run `$ sh aemsync.sh` in your terminal from the folder where this script is located.
if ! type "aemsync" > /dev/null;
then
echo "aemsync is not installed. Installing..."
sudo npm install aemsync -g
fi
aemsync -t http://admin:admin@localhost:4502 -w ../aem-project/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.