This project aims to provision a simple Broadleaf instance using Vagrant and Puppet.
This project specifically is an alternative to list of instructions documented in Broadleaf's Getting Started. Rather than downloading Eclipse and a JDK, running some specific ant targets, Vagrant and Puppet automate those steps.
Warning: The virtual machine that will be provisioned by vagrant will have 2 GB of RAM.
- Install VirtualBox
- Install Vagrant
- Clone or download this repository to the root of your project directory:
git clone https://github.com/nblair/vagrant-broadleaf.git
- In your project directory, run
vagrant up
Be prepared to wait; the first launch of the site may take a good 15 minutes.
To access the site, point your browser at http://localhost:8080. To access the admin console, point your browser at https://localhost:8444/admin. Log in with username admin and password admin.
The first lauch can take a very long time to start up, but if something does seem amiss, you can check that the service is running and look at its log for problems.
- Use
vagrant ssh
to login to the virtual machine. - Verify that broadleaf is running:
pgrep -lf jetty
- Its output can be found in /vagrant/eclipse-workspace/DemoSite/site/stdout.log