Giter Site home page Giter Site logo

laravel-blog's Introduction

Laravel-blog

基于 Laravel 5.3 的个人博客系统

演示地址:http://dmmylove.cn http://123.207.171.47/

如果你喜欢这个开源项目,记得在右上角点个 star 哦,谢谢:)

安装方法(开发环境)

安装 homestead 虚拟机

Homestead 安装与配置文档

进入 homestead 虚拟机

cd ~/Homestead

vagrant up

vagrant ssh

cd Code

获取代码

git clone https://github.com/SadCreeper/laravel-blog.git

安装依赖

//在项目代码根目录执行
composer install

除此之外,因为使用了 intervention/image 图片处理扩展包,还需要单独为该扩展包安装所需依赖,安装方法参考文档

数据库迁移

//在项目代码根目录执行
php artisan migrate

安装 npm 包

//在项目代码根目录执行
npm install

npm install 通常比较慢,甚至卡死,解决办法:

  1. 翻墙
  2. 使用 cnpm
//先安装 cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
//之后就可以使用 cnpm install 替代 npm install
cnpm install

编译静态资源

//在项目代码根目录执行
gulp

安装方法(生产环境)

生产环境的安装方法可参考这篇文章

在阿里云上部署 Laravel 5.3 (LNMP 环境)

扩展包介绍

  • caouecs/laravel-lang (中文语言包)
  • doctrine/dbal (数据库迁移支持包)
  • graham-campbell/markdown (Markdown 解析器)
  • intervention/image (图片处理扩展)
  • mews/captcha (图片验证码)
  • barryvdh/laravel-debugbar (DebugBar 调试工具)

更新日志

07-15

  • 【BUG】修复了搜索文章结果分页的 BUG

04-18

  • 【功能】+ 邮件提醒(收到评论、回复、留言后发送邮件提醒)

03-31

  • 【功能】+ 文章隐藏(只能通过 url 访问)
  • 【扩展】+ DebugBar
  • 【其他】Markdown ajax 解析请求方式由 get 改为 post(解决了文章过长无法解析的问题)
  • 【其他】封面图片如果未上传保存一个默认图片
  • 【BUG】修复了连续长数字/字符超出不换行的 BUG

03-22

  • 【其他】 修改了 markdown 样式
  • 【BUG】修复了手机版后台JS不生效的BUG

03-21

  • 【后台】文章编辑增加预览功能(markdown解析)

03-14

  • 【功能】文章评论增加回复功能
  • 【其他】文章评论去掉了匿名回复
  • 【其他】回复后更新评论数

03-10

  • 【模块】+ 广告位 + 最新留言
  • 【功能】+ 文章评论 + 评论数量动态显示
  • 【优化】优化了留言表结构(将留言名称由静态改为动态关联)
  • 【其他】修改了友情链接
  • 【其他】将文章的浏览、评论、时间更改为小图标

03-08

  • 【后台】文章删除增加了弹出框提醒

02-25

  • 【其他】添加了 markdown 自定义
  • 【BUG】修复了作者信息二维码图片小屏幕超出的BUG
  • 【BUG】修复了文章详情页中图片超出的BUG

02-24

  • 【后台】实现手机自适应

02-22

  • 【功能】+ 忘记密码找回功能(通过邮箱找回)
  • 【扩展】+ 图片验证码
  • 【其他】修改 header 巨幕 在手机上换成小图
  • 【其他】修改 网站标题后缀

02-21

  • 【模块】+ 友情链接

02-17

  • 【页面】+ 留言板
  • 【功能】+ 留言
  • 【后台】点击文章管理直接跳到文章列表页,简化操作
  • 【优化】使用视图合成器绑定侧栏动态数据流,替代重复代码

02-16

  • 【其他】友好格式时间更改为中文 Carbon 本地化

02-15

  • 【其他】增加 favicon

01-22

  • 【功能】+ 图片上传功能
  • 【扩展】+ 增加图片处理扩展,支持图片压缩,水印等

01-19

  • 【BUG】修复注册完成后的跳转错误
  • 【其他】首页和后台增加项目跳转按钮(管理员可见)
  • 【其他】热门文章模块增加更多文章按钮

01-17

  • 【BUG】修复文章详情页标题不能动态显示

01-10

  • 【页面】+ 文章列表页
  • 【模块】+ 搜索框
  • 【功能】+ 搜索(支持搜索文章标题)
  • 【扩展】+ Markdown 解析器(支持 Markdown 语法)

2017-01-09

  • 【网站上线】
  • 【页面】+ 首页、文章详情页
  • 【模块】+ 轮播图、最新文章、作者信息、最热文章
  • 【后台】+ 文章管理
  • 【功能】+ 用户注册/登录
  • 【扩展】+ 中文语言包(实现中文语言支持)
  • 【优化】无
  • 【其他】无
  • 【BUG】无

laravel-blog's People

Contributors

n1ghtjs avatar

Watchers

James Cloos avatar baitongda 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.