GithubHelp home page GithubHelp logo

brucewu16899 / laravel-5-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from endachao/laravel-5-blog

0.0 2.0 0.0 10.19 MB

一个用 laravel 5 开发的 博客系统

PHP 44.03% JavaScript 17.69% ApacheConf 0.06% CSS 37.91% HTML 0.31%

laravel-5-blog's Introduction

laravel-5-blog

Blog system development based on laravel 5.0.*

Demo

演示地址:http://www.phpyc.com/

###Usage

  1. clone laravel-5-blog 到你的服务器环境

    cd www #你的服务器放网站的目录
    git clone [email protected]:yccphp/laravel-blog.git
    
  2. 切换到 laravel-5-blog 所在目录,使用composer 更新项目

    如果没有安装过composer请先安装:
    http://www.phpcomposer.com/

    // 因为我提交的时候,为了避免大家重新下载各种包,我直接提交了 vendor ,所以执行 composer dump-autoload 就行
    cd laravel-5-blog/
    composer dump-autoload	
    
  3. 修改数据库配置.env,在数据库中创建一个,把配置信息填写到配置文件中

  4. 修改app/storage/ 目录权限为可写,*nix下 执行:

    sudo chmod -R 755 storage/
    
  5. 修改public/uploads 目录权限为可写,*nix下 执行:

    sudo chmod -R 755 public/uploads/
    
    
  6. 安装数据库

    php artisan migrate #安装数据表结构
    
  7. 填充数据

    	php artisan db:seed
    
  8. 开启重写模块:使用apache请开启mod_rewrite,使用nginx同学请参考这个配置示例:https://gist.github.com/davzie/3938080

  9. 把你的域名绑定到 laravel-5-blog/public

  10. 那么现在访问http://yourhost/backend 应该会跳转到后台登录页,默认账户:[email protected],123456

###开发进度

目前基本上开发完成,后期都是代码优化系列,您可以点击 watch ,订阅最新推送,可以点击 start 来支持我

###缓存

本系统使用redis缓存,目前只缓存文章,其它的皆不缓存

喜欢这个项目,喜欢 laravel 欢迎加入 QQ 群与我们讨论:365969825

####感谢支持!

laravel-5-blog's People

Contributors

endachao avatar

Watchers

Bruce.Wu avatar  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.