650 Star 2.5K Fork 1.1K

sanluan/PublicCMS

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
Apache-2.0

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 develop,V5-develop branch and the free version to the V2019 branch

Licensing agreement

  • Version :V4.0,V5 Free for individuals and paid for enterprises: See LICENSE for details
  • Version :V1.0,V2016,V2017,V2019 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 jdk1.8 or later,V5 Java17 and later

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 database

Management background to visit relative paths for http://localhost:8080/admin/

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 image

Execute:

docker build -t mypubliccms .
docker run -d -p 8080:8080 mypubliccms
  • Run in docker compose

Execute:

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

Public CMS architecture diagram

Public CMS Management - English

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

Public CMS管理后台 - 中文

Public CMS管理後臺 - 繁體

Copyright (c) 2022 PublicMS 一、授权许可 1.1 您可以免费修改、复制、分发本软件及本软件的源码 1.2 您可以免费获得的基于免费协议的授权文件,并获得非商业用途的使用权限,非商业用途限个人用户使用 1.3 商业用途用户允许不超过3个月的试用,试用期间,基于本软件开发的页面必须在显著位置添加Powered by PublicCMS标识,并保留产品中的授权及logo等标识 1.4 在将本软件用作商业用途时,需要取得软件版权方商业使用授权,授权单位应为最终使用产品的用户单位 1.5 已获得商业授权的用户可以使用、复制、修改、分发本软件(含源码)及包含本软件(含源码)的产品 1.6 该协议仅对当前版本有效,历史已发布版本请参照软件发布时附带的授权协议 二、版权 2.1 该软件版权归PublicCMS官方所有 三、免责声明 3.1 本软件及所附带的文件是作为不提供任何明确的或隐含的赔偿或担保的形式提供的 3.2 用户出于自愿而使用本软件,您必须了解使用本软件的风险,在尚未购买产品技术服务之前,我们不承诺提供任何形式的技术支持、使用担保,也不承担任何因使用本软件而产生问题的相关责任 # 其他授权许可 Other Licenses This software includes projects with the following licenses 该软件包括其他开源项目涉及的授权协议 ### [Apache License](http://www.apache.org/licenses/LICENSE-2.0) This license is used by the following third-party libraries: * jUI [DWZ] (http://j-ui.com/) * Spring Framework (http://projects.spring.io/spring-framework/) * FreeMarker (http://freemarker.org/) ### [LGPL License](https://www.gnu.org/copyleft/lesser.html) This license is used by the following third-party libraries: * hibernate (http://hibernate.org/orm/) * mybatis (http://www.mybatis.org/mybatis-3/) ### [MIT License](http://www.opensource.org/licenses/MIT) This license is used by the following third-party libraries: * jquery (http://jquery.com/) ### [License(BSD)](https://github.com/ecomfe/echarts/blob/master/LICENSE) * Echarts (http://echarts.baidu.com/)

About

200多万行代码修改 持续迭代8年 现代化java cms完整开源,轻松支撑千万数据、千万PV;支持静态化,服务器端包含,多级缓存,全文搜索复杂搜索,后台支持手机操作; 目前已经拥有全球0.0005%(w3techs提供的数据)的用户,语言支持中、繁、日、英;是一个已走向海外的成熟CMS产品 expand collapse
Java and 5 more languages
Apache-2.0
Cancel

Releases (29)

All

Contributors

All

Activities

Load More
can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/sanluan/PublicCMS.git
git@gitee.com:sanluan/PublicCMS.git
sanluan
PublicCMS
PublicCMS
master

Search

344bd9b3 5694891 D2dac590 5694891