Skip to content

QCute/admin

Repository files navigation

Admin

A Game Manage System Power By Laravel-Admin

Requirements

Installation

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

Usage

Open http://admin.localhost/ or http://localhost/admin/ in browser.

About

A Game Manage System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published