Apache Sling > Sling CMS > Getting Started


This guide will give you a quick introduction to getting started with Sling CMS. There are two options for getting started:

  1. Running Locally
  2. Installing on a VM with Vagrant

Running Locally

This installation is the simplest option for developers or those looking to quickly set up a test instance Sling CMS. To run the Sling CMS on a local envionment:

  1. Download the Sling CMS JAR to a directory on your computer.
  2. Run the command java -jar org.apache.sling.app.cms-[version].jar to start Sling 9CMS
  3. Open a browser and navigate to http://localhost:8080/. The default credentials are admin/admin.

Installing on a VM with Vagrant

This option allows you to install Sling CMS and Apache web server, which allows for a much closer reproduction of a real environment. To install with this option:

  1. Clone the Sling CMS Git repo with: git clone https://github.com/apache/sling-org-apache-sling-app-cms.git

  2. Change directory into the sling-org-apache-sling-app-cms/vagrant directory

  3. Run the command vagrant up

  4. Add the following entries into your HOSTS file: sling2.apache.org cms.sling.apache.org
  5. Open a browser to http://cms.sling.apache.org:8090/ to view Sling CMS or http://sling2.apache.org:8090/ to view the published site

Read More About Using Sling CMS