tray-labs / admin
TrayLabs Admin
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 0
Forks: 4
Open Issues: 0
Language:Vue
Type:project
Requires
- php: >=5.6.4
- laravel/framework: 5.4.*
- laravel/tinker: ~1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.4
- fzaninotto/faker: ~1.4
- mockery/mockery: 0.9.*
- phpmd/phpmd: @stable
- phpro/grumphp: ^0.11.6
- phpstan/phpstan: ^0.8.0
- phpunit/phpunit: ~5.7
This package is not auto-updated.
Last update: 2024-12-17 08:11:51 UTC
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.