Code Monkey home page Code Monkey logo

writor's Introduction

writor

基于Laravel框架开发的博客系统。

只完成了后台管理部分,前台请根据需求自行开发。

###Usage

  1. clone writor到你的服务器环境

    cd www #你的服务器放网站的目录
    git clone https://github.com/overtrue/writor.git
    
  2. 切换到composer.json所在目录,使用composer安装项目

    如果没有安装过composer请先安装:
    linux/OSX: https://getcomposer.org/doc/00-intro.md#installation-nix
    windows: https://getcomposer.org/doc/00-intro.md#installation-windows

    cd www/writor
    composer install
    
  3. 修改bootstrap/start.php27行的环境配置,里面有说明。

  4. 修改数据库配置app/config/database.php,如果你没改上面的start.php中的环境部分的话请修改app/config/production/database.php

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

    sudo chmod -R 755 app/storage/
    
  6. 初始管理员的用户名为admin,密码为admin,你想修改可以在app/database/seeds/UserTableSeeder.php中修改初始人员信息再执行安装

  7. 安装数据库

    php artisan migrate #安装数据表结构
    php artisan db:seed #初始化管理员
    
  8. 开启重写模块:使用apache请开启mod_rewrite,使用nginx同学请参考这个配置示例:https://gist.github.com/davzie/3938080

  9. 那么现在访问http://yourhost/writor/public/admin 应该会跳转到后台登录页。

###友情提示

  • 因为本项目还在持续开发中,如果你想跟进开发进度请点击右上角的watch以便于收到更新邮件通知。
  • 如果你的网络慢,使用composer install老半天没反应,你可以直接拷其它laravel项目的vendor目录放到本目录就好。 然后再执行一下:composer dumpautoload,如果运行不起来,试试composer install。:smiley:

当然别忘记点上面的 star 哦! 😜

####感谢支持!

writor's People

Contributors

overtrue avatar bitdeli-chef avatar crny avatar

Watchers

Dao 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.