Running the Broadleaf Commerce Demo and Admin Applications From Binaries
Prerequisites:
- JDK 1.5 or greater (http://java.sun.com/javase/downloads/index_jdk5.jsp)
- ~1G available RAM
Instructions:
Make sure you have the prerequisite items installed and confirm that each is in an operational state on your test machine.
Run the Demo and Admin Applications:
- Download the "-with-dependencies" distribution of the Broadleaf Commerce framework (http://broadleafcommerce.org/download.html). This distribution contains libraries required to run the demo.
- Unzip the Broadleaf Commerce distribution to a suitable directory
- Execute the following command at the 'demo' directory of the Broadleaf Commerce distribution.
- java -jar broadleaf-demo-launcher-[version].jar
- Wait until you see the 'Started SelectChannelConnector@0.0.0.0:8080' message in the console before attempting to access the demo or admin in a browser.
At this point, you should be able to access the demo application using your favorite web browser. Open the site at http://localhost:8080/broadleafdemo. You should also be able to access the admin application. Open the admin site at http://localhost:8080/broadleafadmin. You can log into the Admin Tool with the username 'admin' and password 'blc_admin'.
Stop the Demo and Admin Applications:
- Execute the following command at the 'demo' directory of the Broadleaf Commerce distribution.
- java -jar broadleaf-demo-launcher-[version].jar stop
Building and Running the Broadleaf Commerce Demo Application From Source
If you would like to develop the platform itself and build and run the framework from source, then please refer to our developer instructions.