https://github.com/sanluan/publiccms
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
https://github.com/sanluan/publiccms
cms freemarker gradle hibernate hibernate-search java maven publiccms springboot static-site-generator
Last synced: 16 days ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/sanluan/publiccms
- Owner: sanluan
- License: other
- Created: 2015-08-07T08:21:20.000Z (over 9 years ago)
- Default Branch: V4.0
- Last Pushed: 2025-04-03T06:14:21.000Z (23 days ago)
- Last Synced: 2025-04-03T09:05:00.031Z (23 days ago)
- Topics: cms, freemarker, gradle, hibernate, hibernate-search, java, maven, publiccms, springboot, static-site-generator
- Language: Java
- Homepage: https://www.publiccms.com/
- Size: 158 MB
- Stars: 2,023
- Watchers: 148
- Forks: 819
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# PublicCMS
English | 简体中文QQ Group 1 191381542
QQ Group 2 481589563
QQ Group 3 638756883
QQ Group 4 930992232## Introduction
PublicCMS 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.
## Get the source code
https://gitee.com/sanluan/PublicCMS
https://github.com/sanluan/PublicCMS## Participate in development
Switch to the V4.0-develop,V5-develop branch and the free version to the V2021 branch
## Licensing agreement
* Version :V4.0,V5 Free for individuals and paid for enterprises: See LICENSE for details
* Version :V1.0,V2016,V2017,V2019,V2021 Completely free license agreement :MIT## Environmental requirements
* V4.0 jdk or jre 1.8 and later,V5 Java17 and later
* mysql 5.5 and later## Directory description
* data\publiccms PublicCMS data directory
* doc document
* publiccms-parent project source code## Fast compile and run
* Compile and run
Ensure that the operating system (OS) runs jdk
```
cd publiccms-parent
mvnw clean package
cd publiccms/target
java -jar -Dfile.encoding="UTF-8" -Dcms.filePath="../../../data/publiccms" publiccms.war
```
Visit the program page http://localhost:8080/ and follow the prompts to configure and initialize the databaseManagement background to visit relative paths for http://localhost:8080/admin/
* direct download an executable program (https://www.publiccms.com/download.html)
Prepare java and mysql environments locally, download executable programs, compress and decompress them, and run startup.bat or startup.sh
## Customize the operation mode
* windows startup command
```
java -jar -Dfile.encoding="UTF-8" -Dcms.port=8080 -Dcms.contextPath=/publiccms -Dcms.filePath="%cd%\data\publiccms" publiccms.war
```
* linux startup command```
java -jar -Dfile.encoding="UTF-8" -Dcms.port=8080 -Dcms.contextPath=/publiccms -Dcms.filePath="`pwd`/data/publiccms" publiccms.war
```
For details about the parameters and their meanings, see the deployment manual* Run in tomcat
Rename 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
* Run in docker
Execute:
```
docker run -d -p 8080:8080 sanluan/publiccms```
Build your own imageExecute:
```
docker build -t mypubliccms .
docker run -d -p 8080:8080 mypubliccms```
* Run in docker composeExecute:
```
docker compose up -d```
mysql host/port: mysql-cms/3306 ; database: publiccms ; user/password: publiccms/password!@#More parameters, please refer to https://hub.docker.com/r/sanluan/publiccms/
## Demonstration
* the demo site : https://www.publiccms.com/
* the background demo : https://cms.publiccms.com/admin/ demo account/password test/test
* interface demo: https://cms.publiccms.com/interface.html## Public CMS architecture diagram

## Public CMS Management - English

## Public CMS 管理バックグラウンド - 日本語

## Public CMS管理后台 - 中文

## Public CMS管理後臺 - 繁體
