Coder Social home page Coder Social logo

tp3-cms's Introduction

TP3-CMS


基于ThinkPHP3.2框架完成的企业网站CMS系统, 快速搭建可商用的企业网站

项目概览

TP3-CMS

安装

1. 克隆项目到本地
2. 修改 Application/Common/Conf/config.php 文件中的数据库配置信息
3. 导入项目根目录下的sql文件
4. 访问后台 localhost/TP3-CMS/index.php/Admin/Login/index
    超级管理员: admin 123456
    编辑: bianji 123456
    游客: youke 123456
5. 登录后台以后点击更新缓存, 生成前台静态页面
6. 访问前台 localhost/TP3-CMS

使用说明

1. 由于后台部分插件的兼容性, 为了正常地使用后台管理系统, 推荐使用 360极速浏览器(兼容模式)
2. 前台基本使用HTML+CSS+JS进行手工页面布局, 除了首页的swiper轮播插件, 因此前台代码相当整洁
3. 后台更新友情链接、网站配置等操作, 由于涉及到前台整站的更新, 需要在后台手动点击更新缓存
4. 后台新增文章、幻灯管理等操作, 由于只涉及到前台单页面的更新, 无需在后台手动点击更新缓存, 已经做了自动更新静态页面

如何进行数据库备份

# 执行crontab命令
crontab -e
# 每隔10分钟备份数据库(php命令所在的地址要用全路径)
*/10 * * * * /usr/sbin/php /opt/lampp/htdocs/livecms/cron.php Admin Cron dump > /dev/null

后台展示

后台

前台展示

前台

tp3-cms's People

Contributors

duiying avatar wyxx1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.