tray-labs / admin by tray-labs

TrayLabs Admin
14
7
0
Package Data
Maintainer Username: tray-labs
Package Create Date: 2017-08-10
Package Last Update: 2017-10-03
Language: Vue
License: MIT
Last Refreshed: 2024-03-27 03:05:44
Package Statistics
Total Downloads: 14
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 7
Total Watchers: 0
Total Forks: 4
Total Open Issues: 0

TrayLabs Admin

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.