Xusenlin Voyager Save

voyager-zh for laravel

Project README

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

Open Source Agenda is not affiliated with "Xusenlin Voyager" Project. README Source: xusenlin/Voyager
Stars
27
Open Issues
1
Last Commit
6 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating