Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

This is an example of the Broadleaf frontend running on Heroku. The original commit was derived by building from the archetype with the mvn archetype:generate command from CLI on OSX:

~/broadleaf/heroku » mvn archetype:generate -DarchetypeGroupId=org.broadleafcommerce -DarchetypeArtifactId=ecommerce-archetype -DarchetypeVersion=1.6.0-SNAPSHOT

Then various configurations were added on top to make it play nicely with Heroku. This runs an actual instance of Tomcat which you can see with the following maven plugin in site-war/pom.xml:


The admin application was also stripped out from the archetype because of the slug size limit for Heroku applications. Both the site and admin applications are ~60MB and Heroku limits you to 100MB total.

Running Locally

Edit and provide values that are relevant to your local instance of Postgres and the port Tomcat should run on. The app can then be launched with:

~/broadleaf/heroku » foreman start --procfile=Procfile-local

Assuming the default Tomcat port is left as-is, you should then be able to hit http://localhost:8080 to load the application

Running instance on Heroku free. The app might need to refresh itself, so just give it a while to load on first-visit.

Blog post detailing these steps to come!


Broadleaf deployed as a Heroku application



No releases published


No packages published
You can’t perform that action at this time.