{"id":13470146,"url":"https://github.com/BroadleafCommerce/DemoSite","last_synced_at":"2025-03-26T11:30:48.681Z","repository":{"id":19266253,"uuid":"86642889","full_name":"BroadleafCommerce/DemoSite","owner":"BroadleafCommerce","description":"The Broadleaf Heat Clinic Spring Boot application","archived":false,"fork":false,"pushed_at":"2024-08-22T14:27:24.000Z","size":7590,"stargazers_count":122,"open_issues_count":6,"forks_count":201,"subscribers_count":37,"default_branch":"develop-6.2.x","last_synced_at":"2024-08-22T16:16:53.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://demo.broadleafcommerce.org","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BroadleafCommerce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"licenses/blc_dual/commercial_license-1.1.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-30T00:50:47.000Z","updated_at":"2024-08-22T14:25:15.000Z","dependencies_parsed_at":"2023-10-24T23:22:25.540Z","dependency_job_id":"c9bc1d25-4158-4f60-9627-283dc4440a01","html_url":"https://github.com/BroadleafCommerce/DemoSite","commit_stats":null,"previous_names":[],"tags_count":70,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BroadleafCommerce%2FDemoSite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BroadleafCommerce%2FDemoSite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BroadleafCommerce%2FDemoSite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BroadleafCommerce%2FDemoSite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BroadleafCommerce","download_url":"https://codeload.github.com/BroadleafCommerce/DemoSite/tar.gz/refs/heads/develop-6.2.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222138879,"owners_count":16937421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:00:23.891Z","updated_at":"2024-10-30T00:30:17.682Z","avatar_url":"https://github.com/BroadleafCommerce.png","language":"HTML","funding_links":[],"categories":["HTML"],"sub_categories":[],"readme":"# CommunityStarter\n\nThis Maven project is a Spring boot implementation of a community [Broadleaf Commerce](https://www.broadleafcommerce.com) application. It has many sensible defaults set up along with examples of how a fully functioning eCommerce site based on Broadleaf might work.\n\n## Project Overview\n\nThe Community Demo is comprised of 4 individual projects:\n\n```shell\n~/CommunityDemo » tree -L 1\n├── LICENSE\n├── README.md\n├── admin\n├── api\n├── core\n├── pom.xml\n└── site\n```\n\n- `admin` - a Spring Boot application for the Broadleaf admin for catalog management, see completed orders, etc\n- `api` - a Spring Boot application that sets up the Broadleaf API endpoints\n- `site` - a Spring Boot application that runs the Heat Clinic UI built with Thymeleaf as traditional MVC\n- `core` a common jar that all other projects depend on, used for common functionality like domain\n\n## Running the projects\n\nYou must first do a `mvn package` or `mvn install` from the root to build all of the projects:\n\n```shell\n~/CommunityDemo » mvn clean install\n```\n\nAfter this completes you can run either `site`, `api` or `admin` by using the Spring Boot Maven plugin with `mvn spring-boot:run`. Example:\n\n```shell\n~/CommunityDemo » cd site\n~/CommunityDemo/site » mvn spring-boot:run\nJava HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0\n[INFO] Scanning for projects...\n[INFO]\n[INFO] ------------------------------------------------------------------------\n[INFO] Building Community Demo Site 1.0.0-SNAPSHOT\n[INFO] ------------------------------------------------------------------------\n[INFO]\n[INFO] \u003e\u003e\u003e spring-boot-maven-plugin:1.5.4.RELEASE:run (default-cli) \u003e test-compile @ boot-community-demo-site \u003e\u003e\u003e\n[INFO]\n[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ boot-community-demo-site ---\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\n[INFO] Copying 0 resource\n[INFO] Copying 128 resources\n[INFO]\n[INFO] --- jrebel-maven-plugin:1.1.7:generate (generate-rebel-xml) @ boot-community-demo-site ---\n[INFO]\n[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ boot-community-demo-site ---\n[INFO] Nothing to compile - all classes are up to date\n[INFO]\n[INFO] --- maven-dependency-plugin:2.10:copy (copy-agent) @ boot-community-demo-site ---\n[INFO] Configured Artifact: org.springframework:spring-instrument:4.3.9.RELEASE:jar\n[INFO] org.springframework:spring-instrument:4.3.9.RELEASE:jar already exists in /Users/phillip/broadleaf/5.2/CommunityDemo/site/target/agents\n[INFO]\n[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ boot-community-demo-site ---\n[INFO] Using 'UTF-8' encoding to copy filtered resources.\n[INFO] skip non existing resourceDirectory /Users/phillip/broadleaf/5.2/CommunityDemo/site/src/test/resources\n[INFO]\n[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ boot-community-demo-site ---\n[INFO] No sources to compile\n[INFO]\n[INFO] \u003c\u003c\u003c spring-boot-maven-plugin:1.5.4.RELEASE:run (default-cli) \u003c test-compile @ boot-community-demo-site \u003c\u003c\u003c\n[INFO]\n[INFO]\n[INFO] --- spring-boot-maven-plugin:1.5.4.RELEASE:run (default-cli) @ boot-community-demo-site ---\n[INFO] Attaching agents: [/Users/phillip/broadleaf/5.2/CommunityDemo/site/target/agents/spring-instrument.jar]\nobjc[3168]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/bin/java (0x10c6444c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_73.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10c7574e0). One of the two will be used. Which one is undefined.\nListening for transport dt_socket at address: 8000\n\n ,,                                       ,,    ,,                       ,...\n*MM                                     `7MM  `7MM                     .d' \"\"\n MM                                       MM    MM                     dM`\n MM,dMMb.`7Mb,od8 ,pW\"Wq.   ,6\"Yb.   ,M\"\"bMM    MM  .gP\"Ya   ,6\"Yb.   mMMmm\n MM    `Mb MM' \"'6W'   `Wb 8)   MM ,AP    MM    MM ,M'   Yb 8)   MM    MM\n MM     M8 MM    8M     M8  ,pm9MM 8MI    MM    MM 8M\"\"\"\"\"\"  ,pm9MM    MM\n MM.   ,M9 MM    YA.   ,A9 8M   MM `Mb    MM    MM YM.    , 8M   MM    MM\n P^YbmdP'.JMML.   `Ybmd9'  `Moo9^Yo.`Wbmd\"MML..JMML.`Mbmmd' `Moo9^Yo..JMML.\n --------------------------------------------------- C O M M E R C E ------\n\n2017-07-10 07:46:28.786  INFO 3168 --- [           main] com.community.SiteApplication            : Starting SiteApplication on macbook.local with PID 3168 (/Users/osxuser/CommunityDemo/site/target/classes started by osxuser in /Users/osxuser/broadleaf/5.2/CommunityDemo/site)\n2017-07-10 07:46:28.790  INFO 3168 --- [           main] com.community.SiteApplication            : No active profile set, falling back to default profiles: default\n\n...\n...\n2017-07-10 07:49:13.052  INFO 3212 --- [eduler_Worker-1] o.h.cache.internal.StandardQueryCache    : HHH000248: Starting query cache at region: query.Search\n2017-07-10 07:49:13.181  INFO 3212 --- [           main] c.c.c.s.s.SolrIndexCleanupServiceImpl    : Not rebuilding indexes because value was update\n2017-07-10 07:49:13.479  INFO 3212 --- [           main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8443 (https) 8080 (http)\n2017-07-10 07:49:13.493  INFO 3212 --- [           main] com.community.SiteApplication            : Started SiteApplication in 32.617 seconds (JVM running for 33.017)\n\n```\n\nIf you have a JRebel license you can use the `jrebel` profile to start with the Jrebel agent, using a `jrebel.agent.args` property. Example on OSX:\n\n```shell\nmvn spring-boot:run -Pjrebel -Djrebel.agent.args='-agentpath:/full/path/to/jrebel/lib/libjrebel64.dylib'\n```\n\nWe recommend moving the `jrebel.agent.args` property into your global `~/.m2/settings.xml` file so that you can just start the application with:\n\n```shell\nmvn spring-boot:run -Pjrebel\n```\n\nFor more information on which agent to use for your operating system, [consult the Jrebel documentation](https://manuals.zeroturnaround.com/jrebel/standalone/springboot.html#springboot).\n\n### Active Ports\n\nEach project by default starts up with different remote debug ports and HTTP/HTTPS connector ports:\n\n- `site`\n  - base url: http://localhost:8080\n  - http - `8080`\n  - https - `8443`\n  - remote debug port - `8000`\n- `admin`\n  - base url: http://localhost:8081/admin\n  - http - `8081`\n  - https - `8444`\n  - remote debug port - `8001`\n- `api`\n  - base url: http://localhost:8082/api/v1/swagger-ui.html\n  - http - `8082`\n  - https - `8445`\n  - remote debug port - `8002`\n\n## License\n\nThe Broadleaf Commerce Demo Site is itself licensed under the Broadleaf Fair Use License Agreement - Version 1.0 (http://license.broadleafcommerce.org/fair_use_license-1.0.txt). The Broadleaf Commerce core and module libraries have different license models you should be aware of.\n\nBroadleaf Commerce core libraries, as well as the menu library, are released under a dual license format. They may be used under the terms of the Fair Use License 1.0 (http://license.broadleafcommerce.org/fair_use_license-1.0.txt) unless the restrictions on use therein are violated and require payment to Broadleaf, in which case the Broadleaf End User License Agreement (EULA), Version 1.1 (http://license.broadleafcommerce.org/commercial_license-1.1.txt) shall apply. Alternatively, the Commercial License may be replaced with a mutually agreed upon license between you and Broadleaf Commerce.\n\nVarious commercial modules that are also available (for instance, price list management) are released under the applicable commercial license. These are not included with the core Broadleaf framework.\n\n## Production Considerations\nBy default, Caching is disabled and Exploit Protection is enabled in [properties](https://github.com/BroadleafCommerce/DemoSite/blob/develop-6.2.x/core/src/main/resources/runtime-properties/default-shared.properties) but there are more things to be considered. Read through https://www.broadleafcommerce.com/docs/core/current/appendix/production-considerations for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBroadleafCommerce%2FDemoSite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBroadleafCommerce%2FDemoSite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBroadleafCommerce%2FDemoSite/lists"}