Giter Club home page Giter Club logo

blog's Introduction

Laravel博客

基础功能

  • 文章分类
  • 发布文章,采用tinymce富文本编辑器
  • 文章标签
  • 图片上传,支持七牛云上传
  • 评论功能

运行环境要求

  • Nginx >= 1.12
  • PHP >= 7.0.0
  • Mysql >= 5.6
  • Redis >= 3.2

开发环境部署/安装

本项目代码使用 PHP 框架 Laravel 5.2 开发,本地开发环境使用 Docker

基础安装

1. 克隆源代码

克隆 blog 源代码到本地:

 git clone https://github.com/gentlemanwuyu/blog.git

2. 安装扩展包依赖

 composer install

3. 生成配置文件

cp .env.example .env

你可以根据情况修改 .env 文件里的内容,如数据库连接、缓存等:

前端框架安装

1). 安装 yarn

windows系统直接去官网 https://yarn.bootcss.com/ 下载安装最新版本。 Linux系统可使用apt直接安装。

2). 安装 前端扩展包

yarn install

如果是windows系统,在执行时需要加上--no-bin-links

3). 安装 gulp

yarn global add gulp

4). 编译前端内容

// 运行所有gulp编译任务...
gulp

// 运行所有gulp编译任务并缩小输出,一般是正式环境使用。
gulp --production

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.