Giter Site home page Giter Site logo

voyager's Introduction

Build Status Build Status Total Downloads Latest Stable Version License Awesome Voyager

Voyager - 一个laravel的后台管理

Made with ❤️ by The Control Group

Voyager-zh Screenshot

站点 & 文档: https://the-control-group.github.io/voyager/

视频演示: https://devdojo.com/series/laravel-voyager-010/

加入我们的聊天: https://voyager-slack-invitation.herokuapp.com/

查看 Voyager 提示: https://voyager-cheatsheet.ulties.com/

Voyager最近的视频: https://larachat.co/live


Voyager 是一个非常棒的后台管理,但是原作者并没有打算将他翻译为中文,这个是由我翻译的中文,可能有的地方翻译不准确(英文太渣--),希望大家加入进来给我提意见,如果你喜欢,欢迎star.

#如何安装

1、拉取tcg/voyager,这个翻译的版本是v0.11.10,其他版本可能会出错。

composer require tcg/voyager

2、下载这个翻译文件覆盖掉tcg/voyager的所有文件

3、修改你的.env 文件里面的数据库配置:

DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

4、然后在.env 文件里面配置 APP_URL ,否则会导致默认头像显示不了之类的:

APP_URL=http://localhost:8000

5、添加 Voyager 服务到 config/app.php 文件 的providers 数组里:

'providers' => [
    // Laravel Framework Service Providers...
    //...
    
    // Package Service Providers
    TCG\Voyager\VoyagerServiceProvider::class,
    // ...
    
    // Application Service Providers
    // ...
],

6、安装voyager,他会复制一些迁移文件和模拟数据文件(seed)等到我们的工作目录并将它迁移到数据库。

php artisan voyager:install

7、填充网站的一些设置

php artisan db:seed --class=SettingsTableSeeder

8、现在模拟一个admin用户以便于我们登录后台,(注意:我已经修改了密码,邮箱:[email protected] 密码:123456)

php artisan db:seed --class=UsersTableSeeder

email: [email protected]
password: 123456

voyager's People

Contributors

xusenlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

voyager's Issues

版本又更新了

这样改其实挺累的
其实如果有个语言配置文件就好了,向voyager团队提意见增加多语言版啥的

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.