NOTE: Tested and built with Apache Karaf 4.3.6
A features repository for easy deployment of Apache Sling on Apache Karaf (see Provisioning for details).
OSGi configurations for provisioning with Apache Karaf used in Sling's Karaf Features.
A distribution of Apache Sling based on Apache Karaf (Sling's Karaf Features and artifacts in a single archive).
1) Start Apache Karaf or Sling's Karaf Distribution.
2) Add the Apache Sling features repository (not necessary when using Sling's Karaf Distribution):
karaf@root()> feature:repo-add mvn:org.apache.sling/org.apache.sling.karaf-features/0.2.0-SNAPSHOT/xml/features
3) Sling requires OSGi R7 Http Service and Http Whiteboard Service, e.g. Apache Felix HTTP Service:
karaf@root()> feature:install felix-http
4) Install custom or default configurations for Sling:
karaf@root()> feature:install sling-configs
5) Install a Sling Quickstart feature, e.g. sling-quickstart-oak-tar
or sling-quickstart-oak-mongo
(requires a running and configured MongoDB):
karaf@root()> feature:install sling-quickstart-oak-tar
6) Install Starter Content (feature includes Composum):
karaf@root()> feature:install sling-starter-content
7) Browse to http://localhost:8181/.