# wtcms
**Repository Path**: creater/wtcms
## Basic Information
- **Project Name**: wtcms
- **Description**: 基于thinkphp的内容管理系统,可快速搭建个人博客、公司学校官网、新闻类站点。
- **Primary Language**: PHP
- **License**: LGPL-3.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 1
- **Forks**: 0
- **Created**: 2018-06-13
- **Last Updated**: 2021-04-26
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# wtcms
**wtcms** 是基于ThinkPHP框架的一套CMS系统,方便用户快速建立企业网站,门户网站,个人博客或其他系统的内容管理系统。
# 主页

# 功能特色
- 基于ueditor的内容编辑器;
- 基于bootstrap的前端框架开发;
- 文章搜索功能;
- 内容自定义灵活;
- 基于thinkphp和thinkcmf,内容精简,二次开发方便。
# 运行环境
- 操作系统:Windows/Mac/Linux
- php:>= 5.4
- mysql:>= 5.5
- rewrite on
# 安装部署
1、配置好`LAMP/WAMP`环境
2、新建一个数据库`storage`
3、将`wtcms.sql`文件内容导入`storage`数据库中
4、将整个项目文件放入到`WWW`文件夹下
5、修改`/data/conf/db.php`
```php
return array(
'DB_TYPE' => 'mysqli',
'DB_HOST' => 'localhost', //数据库ip
'DB_NAME' => 'storage', //数据库名
'DB_USER' => 'root', //数据库用户名
'DB_PWD' => 'root', //数据库密码
'DB_PORT' => '3306', //数据库端口号
'DB_PREFIX' => 'wt_', //数据表前缀
'AUTHCODE' => 'AdvwqCzyPFsdSweDsd', //密钥
'COOKIE_PREFIX' => 'wt_', //cookies前缀
);
```
# 目录结构
```php
wtcms 根目录
|-- admin 后台文件夹
|-- application 应用目录
| |-- Admin 管理员模块
| |-- Api 手机客户端API模块
| |-- Asset Ueditor模块
| |-- Comment 文章评论模块
| |-- Common 通用基础模块
| |-- Home 主模块
| |-- Install 安装程序模块
| |-- Portal 门户应用模块
|-- data 数据目录
| |-- conf 动态配置目录
| | |-- db.php 数据库配置文件
| | |-- config.php 全局配置文件
| | |...
| |-- runtime 应用的运行时目录(可写)
| |-- upload 上传文件存储路径
| |...
|-- plugins 插件目录
| |-- comment 评论插件目录
|-- public 公共静态文件存放
|-- themes 主题目录
| |-- default 默认主题
| | |-- Comment 评论页面
| | |-- Portal 模板页面
| | |-- Public 公共模板
| | |-- User 用户页面模板
|-- thinkphp thinkphp核心文件夹
|-- index.php 入口文件
|-- wtcms.sql 数据文件
```
# 后台管理
- 登录地址:'/admin'
- 登录账号: `admin`
- 登录密码为: `123456`
# 感谢
- Bootstrap
- ThinkPHP
- Thinkcmf
# 效果演示
- http://storage.hust.edu.cn/