Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
db
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

bugucms

轻量级,插件化的内容管理系统

安装教程

构建war包

mvn clean package -DskipTests

部署

scp ROOT.war /mnt/d/Software/apache-tomcat-9.0.13/webapps

安装到本地maven库

war包

mvn install:install-file -Dfile=target/ROOT.war -DgroupId=com.terwergreen -DartifactId=bugucms-plugin-container -Dversion=2.1.1 -Dpackaging=war

当做parent引用的pom.xml

mvn install:install-file -Dfile=pom-parent.xml -DgroupId=com.terwergreen -DartifactId=bugucms-plugin-container -Dversion=2.1.1 -Dpackaging=pom

BuguCMS

释义:BuguCMS,全称 Bugu Content Manage System,中文即布谷内容管理系统,灵感取自布谷鸟,鸣声响亮,二声一度,希望用户在使用时像耳边时刻响起布谷鸟叫声一样愉悦。

亮点

插件支持,支持自定义插件和扩展

多模板引擎支持,支持主流模板引擎Thymeleaf、Freemarker、Velocity

多数据库支持,主持主流数据库Oracle、SQL Server、MySQL

演示

http://www.terwergreen.com

截图

首页

后台登录

后台管理

相关技术

Centos 7.4
JDK1.8.162
Spring Boot 2.0.0
LogBack
Thymeleaf模板引擎
Maven 3.5.3 (使用华为云Maven仓库)
Tomcat 8.5.28
MySQL 5.7.19
Oracle 11g
MyBatis 3.4.6
JSON
kaptcha图片验证码组件
HTML5
jQuery 1.10.1
bootstrap 3.3.7
LAU(基于layui的后台管理模板)

启动

注意

(1)ojdbc6.jar需要手动安装,在项目的lib目录下,需要用命令mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=11.2.1.0 -Dpackaging=jar -Dfile=ojdbc6.jar安装
(2)Spring Boot 默认将 /webjars/** 映射到 classpath:/META-INF/resources/webjars/ ,根据访问资源的规则,在JSP页面中引入jquery.js的方法为:

<script type="text/javascript" th:src="@{/webjars/jquery/1.10.1/jquery.js}"></script>

本地启动

(1)打开pom.xml里面spring-boot-starter-tomcat<scope>provided</scope>
(2)运行BugucmsApplication.java里面的main方法

Tomcat启动

(1)注释掉pom.xml里面spring-boot-starter-tomcat<scope>provided</scope> ,或者直接复制pom-prd-tomcat.xmlpom.xml
(2)使用IntelliJ IDEA
Build --> Build Artifacts --> 选择要打包编译的war --> 在项目target文件夹下出现新的war包
或者使用eclipse
Run as -->Maven Build --> 在弹出的框里面输入命令 package -DskipTests,点击run,等待任务完成出现 BUILD SUCCESROOT.war就会被打包好在target目录下
(3)将war包放到tomcat的webapps目录下

发布流程

(1)打包之前修改application.properties改为spring.profiles.active=pro
(2)部署之前初始化ddl表结构(如果需要),例如MySQL目录为db/MySQL
(3)部署之前db/pro.sql初始化数据(如果需要),例如MySQL目录为db/MySQL

参考

玩转spring boot——负载均衡与session共享
Spring Boot项目利用Redis实现session管理
spring-boot+spring-session集成
使用Spring Session实现Spring Boot水平扩展
SpringBoot集成Shiro并用MongoDB做Session存储

About

plugin container for light-weight,pluggable cms

Topics

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.