A Game Manage System Power By Laravel-Admin
- PHP >= 8.0.0
- Laravel >= 8.0.0
- PHP Swoole Extension or RoadRunner
- Composer
Install dependency
composer install -vvv
Make env file
cp .env.example .env
Generate Key
php artisan key:generate
Change Domain and/or Prefix
# http://admin.localhost
ADMIN_ROUTE_DOMAIN=admin
# http://localhost/admin
ADMIN_ROUTE_PREFIX=admin
Setup Database Connection
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=admin
DB_USERNAME=root
DB_PASSWORD=root
Create Database
create database `admin`; -- database name
Migrate Table
php artisan migrate
Seed Role/Permission/Menu Data
php artisan db:seed --class=AdminTablesSeeder
Create User
php artisan admin:create-user
Run
# laravel
php artisan serve --host=0.0.0.0 --port=80
# run with octane
php artisan octane:start --host=0.0.0.0 --port=80
Open http://admin.localhost/ or http://localhost/admin/ in browser.