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:
- Running Locally
- Installing on a VM with Vagrant
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:
- Download the Sling CMS JAR to a directory on your computer.
- Run the command
java -jar org.apache.sling.app.cms-[version].jar
to start Sling 9CMS - Open a browser and navigate to http://localhost:8080/. The default credentials are admin/admin.
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:
-
Clone the Sling CMS Git repo with:
git clone https://github.com/apache/sling-org-apache-sling-app-cms.git
-
Change directory into the sling-org-apache-sling-app-cms/vagrant directory
-
Run the command
vagrant up
-
Add the following entries into your HOSTS file:
127.0.0.1 sling2.apache.org 127.0.0.1 cms.sling.apache.org
-
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