1.2K Star 5.9K Fork 2.7K

GVPJPressProjects / jpress

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
LGPL-3.0

JPress

一个使用 Java 开发的、类似 WordPress 的产品,支持多站点、多语种自动切换等。(JPress 始于2015 年)

功能

文章模块

  • 文章管理
  • 文章分类
  • 文章标签
  • 文章搜索(支持 sql like、Lucene、es、OpenSearch)

页面模块

  • 页面管理
  • 页面分类
  • 页面评论

表单模块

  • 表单管理
  • 表单拖拽设计
  • 表单插入到文章
  • 表单数据收集
  • 表单数据统计

附件管理

  • 附件列表
  • 插入附件到文章、页面
  • 附件分类
  • 视频附件

用户相关

  • 用户管理
  • 权限管理

系统相关

  • 模板管理
  • 插件管理
  • 微信管理
  • 系统管理
  • 站点管理

特点

模板

  • 模板在线安装、卸载
  • 模板在线启用、切换
  • 在线编辑及实时生效
  • 模板模的块拖拽设计
  • 完善的模板开发文档
  • 极致的模板开发体验

插件

  • 插件在线安装、卸载
  • 插件在线启用、停止
  • 插件在线更新
  • 支持在插件里添加新的 Controller
  • 支持在插件里添加新的 Handler
  • 支持在插件里添加新的 Interceptor
  • 支持在插件里添加新的 Html、Css 和 Js
  • 支持在插件里创建新的数据库表以及对应的 Model
  • 支持在插件里链接不同的数据库
  • 支持通过插件动态扩展后台菜单和用户中心菜单
  • 插件扩展的菜单支持用户权限设置的管理
  • 插件被停止:该插件的所有Controller、Handler、Intercepter 自动被移除
  • 插件被卸载:该插件的所有资源全部被删除

用户

  • 独立登录、注册入口
  • 手机短信、邮箱激活功能
  • 用户中心(评论管理、个人资料管理等)
  • 微信浏览时,通过微信授权自动获取用户信息

角色和权限

  • 角色管理
  • 全自动、免维护的权限字典(自动发现后台路由、插件安装卸载自动分配对应)
  • 角色和权限的分配
  • 用户多角色功能
  • 超级管理员

微信

  • 微信公众号对接
  • 微信公众号关键字自动回复
  • 微信公众号菜单设置
  • 微信公众号运营插件
  • 通过运用插件灵活扩展各种微信营销功能
  • 微信小程序对接、和配置

多站点

  • 支持站点绑定独立域名
  • 支持站点绑定独立二级目录
  • 支持站点绑定不同地区语言
  • 支持访问主站是自动根据语言跳转到子站点

SEO

  • 每篇文章、页面和商品独立的SEO设置
  • Baidu API 的实时推送
  • Baidu 和 Google 的自动 Ping 提交
  • Sitemap 自动生成、后台支持自定义的开启和关闭
  • robots.txt 爬虫蜘蛛的支持
  • 整站伪静态支持,支持自定义开后缀

其他

  • WordPress、Hexo、Jekyll、微信公众号等文章一键导入
  • 编写文章随意切换 CKEditor 和 Markdown 编辑
  • 最大化、沉侵式的文章编写体验
  • Docker 一键部署
  • 阿里云、腾讯云 CDN 在线配置
  • 阿里云、腾讯云短信验证(用户注册手机验证)
  • 附件自动可配置自动同步阿里云 OSS
  • 完善的API接口配置管理
  • ... (更多等你发现)

交流

帮助文档

广告

运行JPress

在 Docker 上运行

curl -O https://gitee.com/JPressProjects/jpress/raw/master/docker-compose.yml && \
docker-compose up -d

在阿里云(或腾讯云)一键通过 80 端口安装运行

wget https://gitee.com/JPressProjects/jpress/raw/master/install.sh && \
bash install.sh 80

一键安装的视频教程:http://www.ketang8.com/course/study?chapterId=184

通过 Eclipse 或者 Idea 等开发工具运行

  • 1、在电脑安装好 Java、Maven 等开发环境
  • 2、将源码下载、并导入 eclipse 或者 idea
  • 3、在项目的根目录,执行 mvn clean package 命令进行编译
  • 4、在开发工具,右键运行 starter/src/main/java/io.jpress.Starter 下的 main 方法
  • 5、通过浏览器访问 http://127.0.0.1:8080,进行自动安装,安装的过程会自动建库建表

JPress下载、导入、运行视频教程,链接: https://pan.baidu.com/s/1bqbQ9_HjF95EW4qrQvOSag 提取码: 5jw8

注意!注意!注意!JPress 首次运行后,若再执行 mvn clean package 命令,JPress会重新走安装流程。

解决方案: JPress 在安装过程中,会在 starter/target/classes 目录下生成的 jboot.propertiesinstall.lock 两个文件, 我们需要把这两个文件复制到 starter/src/main/resource 目录。

原因是:JPress 是否安装,决定在这两个文件。有这两个文件,JPress 就不走安装流程,没有就走安装流程。 当我们执行 mvn clean 命令时, Maven 会清除 starter/target 目录下的所有文件,从而使这两个文件丢失, JPress 会再次走安装流程。 只有把这两个文件, 复制到 starter/src/main/resource 目录, 再次执行 mvn clean package 命令时,才能保证这两个文件不会丢失,不走安装流程。

JPress 交流群

  • QQ 群1:591396171
  • QQ 群2:288397536

微信交流群:

GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. 0. Additional Definitions. As used herein, "this License" refers to version 3 of the GNU Lesser General Public License, and the "GNU GPL" refers to version 3 of the GNU General Public License. "The Library" refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. An "Application" is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. A "Combined Work" is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the "Linked Version". The "Minimal Corresponding Source" for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. The "Corresponding Application Code" for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. 1. Exception to Section 3 of the GNU GPL. You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. 2. Conveying Modified Versions. If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. 3. Object Code Incorporating Material from Library Header Files. The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the object code with a copy of the GNU GPL and this license document. 4. Combined Works. You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. b) Accompany the Combined Work with a copy of the GNU GPL and this license document. c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. d) Do one of the following: 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) 5. Combined Libraries. You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 6. Revised Versions of the GNU Lesser General Public License. The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library.

About

JPress CMS,一个完整的 Java CMS 网站管理系统,目前已经有 10w+ 网站使用 JPress CMS 进行驱动,其中包括多个政府机构,200+上市公司,中科院、红+字会等。 expand collapse
Java and 6 more languages
LGPL-3.0
Cancel

Releases (88)

All

Contributors

All

Activities

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

Search

344bd9b3 5694891 D2dac590 5694891