This is the companion source code for the Sling Rookie Session held at adaptTo() 2015 in Berlin.
Ths demo uses the Sightly Scripting Language.
AEM6 has already everyting in place to run the demo.
- Go to root folder of demo application
- Build demo application and deploy to AEM6
mvn -Dsling.url=http://localhost:4502 clean install sling:install
- Go to demo intro page http://localhost:4502/content/adaptto.html
You can use Sling 8 Lanuchpad to run the demo.
- Download Sling Launchpad JAR: org.apache.sling.launchpad-8.jar
- Start Sling Launchpad:
java -jar org.apache.sling.launchpad-8.jar -f -
- Launchpad is now running at http://localhost:8080
- If you want to write data to the repository (e.g. add a talk to a comment) you have to log in using the "Login" link displayed on the left site of the Intro Screen.
- Go to root folder of demo application
- Build demo application and deploy to Sling Launchpad
mvn -Dsling.url=http://localhost:8080 clean install sling:install
- Go to demo intro page http://localhost:8080/content/adaptto.html
For developing the JSPs with instant feedback in the running instance deploy the Filesystem Resource Provider bundle: org.apache.sling.fsresource-1.1.4.jar
And create a new configuration "Apache Sling Filesystem Resource Provider" with
- Provider Root =
/apps/rookiedemo
- Filesystem Root =
<project root>\src\main\webapp\app-root