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

Companion source code for the Sling Rookie Session held at adaptTo() 2015 in Berlin.

License

Notifications You must be signed in to change notification settings

adaptto/2015-sling-rookie-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adaptTo() 2015 - Sling Rookie Session

This is the companion source code for the Sling Rookie Session held at adaptTo() 2015 in Berlin.

Ths demo uses the Sightly Scripting Language.

Running Demo in AEM6

AEM6 has already everyting in place to run the demo.

Deploy Demo Application

  • Go to root folder of demo application
  • Build demo application and deploy to AEM6
mvn -Dsling.url=http://localhost:4502 clean install sling:install

Running Demo in Sling Launchpad

You can use Sling 8 Lanuchpad to run the demo.

Install and 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.

Deploy Demo Application

  • 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

Filesystem Resource Provider

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

About

Companion source code for the Sling Rookie Session held at adaptTo() 2015 in Berlin.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •