Admin dashboard for startups based in locawebstyle-tray.
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
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
- username: [email protected]
- password: tray2017
This project is licensed under the MIT License.