tray-labs/admin
Composer 安装命令:
composer create-project tray-labs/admin
包简介
TrayLabs Admin
README 文档
README
Admin dashboard for startups based in locawebstyle-tray.
Installation
You must install TrayLabs Admin by composer:
$ composer create-project --prefer-dist tray-labs/admin /path/to/project
Or download a zip file.
Create TrayLabs Admin database:
CREATE DATABASE admin;
Setup .env file for database access.
Install php dependencies:
$ composer install
Install javascript dependencies:
$ yarn
Run npm to compile:
$ npm run dev
Run migrations and seeds:
$ php artisan migrate --seed
Configuration
By default, the namespace's project is TrayLabs\Admin.
If you want, you can change manually the namespace:
- https://github.com/tray-labs/admin/blob/master/composer.json#L27
- https://github.com/tray-labs/admin/blob/master/app/Http/Controllers/Auth/RegisterController.php#L5
- https://github.com/tray-labs/admin/blob/master/app/Http/Controllers/Auth/RegisterController.php#L61
- https://github.com/tray-labs/admin/blob/master/config/auth.php#L70
- https://github.com/tray-labs/admin/blob/master/config/services.php#L33
- https://github.com/tray-labs/admin/blob/master/database/factories/ModelFactory.php#L15
- https://github.com/tray-labs/admin/blob/master/database/seeds/UserTableSeeder.php#L4
Run composer for update namespace:
$ composer dump
Default Login
- username: trayuser@tray.com.br
- password: tray2017
License
This project is licensed under the MIT License.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-08-30