Skip to content

Template Laravel 8x, StartBootstrap with basic User, Role, Permission, Activity Log Manager

Notifications You must be signed in to change notification settings

bkv1409/lar8x_sb_admin

Repository files navigation

Template Laravel 8x, StartBootstrap with basic User, Role, Permission, Activity Log Manager

Libs and Tools

Tutorial start project

  1. Get project from git

    git@github.com:bkv1409/lar8x_sb_admin.git

  2. Create database, assumption we use mysql and create database name is lar8x-sb-admin

  3. Create file .env

    cp .env.dev .env

    Edit config connect db correctly

    DB_CONNECTION=mysql
    
    DB_HOST=127.0.0.1
    
    DB_PORT=3306
    
    DB_DATABASE=lar8x-sb-admin
    
    DB_USERNAME=root
    
    DB_PASSWORD=
    
  4. Install composer package

    composer install

  5. Run migrate db

    php artisan migrate

  6. Run seeder, insert config and sample data in db

    php artisan db:seed

  7. Install js lib and build

    • For Dev

    yarn install && yarn dev

    Or use npm

    npm install && npm dev

    • For Prod

    yarn install && yarn prod

    Or use npm

    npm install && npm prod

  8. Run clear config, cache

    php artisan app:clear

  9. Run test project

    php artisan serve

  10. Go to Front Front GUI

  11. Go to Admin Admin Site

  12. Cache config, route to optimize performance in production (optional)

    php artisan app:clear

    php artisan app:cache

About

Template Laravel 8x, StartBootstrap with basic User, Role, Permission, Activity Log Manager

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published