{"id":14972990,"url":"https://github.com/sanluan/publiccms","last_synced_at":"2025-05-14T03:06:00.501Z","repository":{"id":36051705,"uuid":"40349599","full_name":"sanluan/PublicCMS","owner":"sanluan","description":"More than 2.66 million lines of code modification continuously iterated for 9 years to modernize java cms, easily supporting tens of millions of data, tens of millions of PV; Support static, server side includes; Currently has 0.0005% of the world's users (w3techs provided data), language support in Chinese, Japanese, English","archived":false,"fork":false,"pushed_at":"2025-04-03T06:14:21.000Z","size":165223,"stargazers_count":2023,"open_issues_count":1,"forks_count":819,"subscribers_count":148,"default_branch":"V4.0","last_synced_at":"2025-04-03T09:05:00.031Z","etag":null,"topics":["cms","freemarker","gradle","hibernate","hibernate-search","java","maven","publiccms","springboot","static-site-generator"],"latest_commit_sha":null,"homepage":"https://www.publiccms.com/","language":"Java","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/sanluan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-08-07T08:21:20.000Z","updated_at":"2025-03-23T16:30:42.000Z","dependencies_parsed_at":"2024-04-16T10:30:33.168Z","dependency_job_id":"cf241ca8-09ec-465d-907a-9d907b9d35b7","html_url":"https://github.com/sanluan/PublicCMS","commit_stats":{"total_commits":2493,"total_committers":14,"mean_commits":"178.07142857142858","dds":0.01845166466105097,"last_synced_commit":"b0235a6701ed5882150f60fdd259dca3e7866f10"},"previous_names":[],"tags_count":44,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanluan%2FPublicCMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanluan%2FPublicCMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanluan%2FPublicCMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanluan%2FPublicCMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanluan","download_url":"https://codeload.github.com/sanluan/PublicCMS/tar.gz/refs/heads/V4.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246970318,"owners_count":20862509,"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":["cms","freemarker","gradle","hibernate","hibernate-search","java","maven","publiccms","springboot","static-site-generator"],"created_at":"2024-09-24T13:47:53.931Z","updated_at":"2025-04-03T09:05:40.534Z","avatar_url":"https://github.com/sanluan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PublicCMS\r\n\r\n\u003cp style=\"align:center\"\u003e\r\n  English | \u003ca href=\"./README.zh-CN.md\"\u003e简体中文\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n\u003ca target=\"_blank\" href=\"https://qm.qq.com/q/uk0kyc8Sru\"\u003eQQ Group 1\u003c/a\u003e 191381542\r\n\u003ca target=\"_blank\" href=\"https://qm.qq.com/q/em30nS0dsA\"\u003eQQ Group 2\u003c/a\u003e 481589563\r\n\u003ca target=\"_blank\" href=\"https://qm.qq.com/q/estzM3VONM\"\u003eQQ Group 3\u003c/a\u003e 638756883\r\n\u003ca target=\"_blank\" href=\"https://qm.qq.com/q/l26b2Z2R3i\"\u003eQQ Group 4\u003c/a\u003e 930992232\r\n\r\n## Introduction\r\n\r\nPublicCMS is an open source JAVACMS system developed with mainstream technologies in 2024. Developed by Tianjin Black Core Technology Co., LTD., the structure is scientific, easily support tens of millions of data, tens of millions of PV; Support visual editing, multi-dimensional expansion, full-text search, static site, SSI, dynamic page local static, URL rules completely customized for you to quickly build a site, large-scale site to provide a powerful drive, is also a good choice for enterprise project product prototype.\r\n\r\n## Get the source code\r\n\r\nhttps://gitee.com/sanluan/PublicCMS\r\nhttps://github.com/sanluan/PublicCMS\r\n\r\n## Participate in development\r\n\r\nSwitch to the V4.0-develop,V5-develop branch and the free version to the V2021 branch\r\n![](doc/images/commits.jpg)\r\n\r\n## Licensing agreement\r\n\r\n* Version :V4.0,V5 Free for individuals and paid for enterprises: See LICENSE for details\r\n* Version :V1.0,V2016,V2017,V2019,V2021 Completely free license agreement :MIT\r\n\r\n## Environmental requirements\r\n\r\n* V4.0 jdk or jre 1.8 and later,V5 Java17 and later\r\n* mysql 5.5 and later\r\n\r\n## Directory description\r\n\r\n* data\\publiccms\tPublicCMS data directory\r\n* doc\t\t\tdocument\r\n* publiccms-parent\tproject source code\r\n\r\n## Fast compile and run\r\n\r\n* Compile and run\r\n\r\nEnsure that the operating system (OS) runs jdk\r\n\r\n```\r\ncd publiccms-parent\r\nmvnw clean package\r\ncd publiccms/target\r\njava -jar -Dfile.encoding=\"UTF-8\" -Dcms.filePath=\"../../../data/publiccms\" publiccms.war\r\n```\r\nVisit the program page http://localhost:8080/ and follow the prompts to configure and initialize the database\r\n\r\nManagement background to visit relative paths for http://localhost:8080/admin/\r\n\r\n* direct download an executable program (https://www.publiccms.com/download.html)\r\n\r\nPrepare java and mysql environments locally, download executable programs, compress and decompress them, and run startup.bat or startup.sh\r\n\r\n## Customize the operation mode\r\n\r\n* windows startup command\r\n\r\n```\r\njava -jar -Dfile.encoding=\"UTF-8\" -Dcms.port=8080 -Dcms.contextPath=/publiccms -Dcms.filePath=\"%cd%\\data\\publiccms\" publiccms.war\r\n```\r\n* linux startup command\r\n\r\n```\r\njava -jar -Dfile.encoding=\"UTF-8\" -Dcms.port=8080 -Dcms.contextPath=/publiccms -Dcms.filePath=\"`pwd`/data/publiccms\" publiccms.war\r\n```\r\nFor details about the parameters and their meanings, see the deployment manual\r\n\r\n* Run in tomcat\r\n\r\nRename publiccms.war.original to publiccms.war or ROOT.war(the context path is /) and move the file to the tomcat webapps directory,The \"-Dcms.filePath\" parameter is still valid\r\n\r\n* Run in docker\r\n\r\nExecute:\r\n```\r\ndocker run -d -p 8080:8080 sanluan/publiccms\r\n\r\n```\r\nBuild your own image\r\n\r\nExecute:\r\n\r\n```\r\ndocker build -t mypubliccms .\r\ndocker run -d -p 8080:8080 mypubliccms\r\n\r\n```\r\n* Run in docker compose\r\n\r\nExecute:\r\n```\r\ndocker compose up -d\r\n\r\n```\r\nmysql host/port: mysql-cms/3306 ; database: publiccms ; user/password: publiccms/password!@#\r\n\r\nMore parameters, please refer to https://hub.docker.com/r/sanluan/publiccms/\r\n\r\n## Demonstration\r\n\r\n* the demo site : https://www.publiccms.com/\r\n* the background demo : https://cms.publiccms.com/admin/ demo account/password test/test\r\n* interface demo: https://cms.publiccms.com/interface.html\r\n\r\n\r\n## Public CMS architecture diagram\r\n\r\n![](doc/images/structure.png)\r\n\r\n## Public CMS Management - English\r\n\r\n![](doc/images/management_en.png)\r\n\r\n## Public CMS 管理バックグラウンド - 日本語\r\n\r\n![](doc/images/management_ja.png)\r\n\r\n## Public CMS管理后台 - 中文\r\n\r\n![](doc/images/management.png)\r\n\r\n## Public CMS管理後臺 - 繁體\r\n\r\n![](doc/images/management_traditional_cn.png)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanluan%2Fpubliccms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanluan%2Fpubliccms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanluan%2Fpubliccms/lists"}