Skip to content

Instantly share code, notes, and snippets.

@kevinweber
Last active August 12, 2016 20:25
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save kevinweber/520d39141c04f68f47bb892881c0e10e to your computer and use it in GitHub Desktop.
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