The-Jat / TheAdmin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Radmin: Laravel Dashboard Template Starter

Radmin Laravel Starter revolutionizes website management with advanced user and role management, a flexible REST API, server-side datatables, data editing, and export options. The Themekit Bootstrap 4 interface makes managing websites a breeze.

Basic Installation

  1. Create a database in phpmyadmin. Open .env file and change following credentials
DB_HOST=127.0.0.1
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password
  1. You have two options to add the database schema:

    • either import the database.sql file found in the database directory
    • or execute the migration command php artisan migrate:refresh --seed
  2. Run php artisan serve to access the website at http://127.0.0.1:8000/ or http://localhost:8000

Run inside Docker 🐳

Before running Laravel inside Docker, please make sure you have installed docker.

  1. Copy environment, docker-compose and Dockerfile
cp .env.docker.example .env
cp docker-conf/php/local.example docker-conf/php/Dockerfile
cp docker-compose.yml.example docker-compose.yml
  1. Run the following command to build the Docker image:
docker compose build

This command will download all the necessary dependencies and build the Docker image according to the specifications in the Dockerfile.

  1. Once the build is complete, run the following command to start the Docker container:
docker-compose up -d
  1. Run migration and seeder to migrate database. Note this command will refresh your databse also.
docker compose exec php php artisan migrate:refresh --seed

If you dont wan't to refresh databse run

docker compose exec php php artisan migrate --seed
  1. Once done, you can visit your website at http://localhost:8900/

About


Languages

Language:JavaScript 77.5%Language:Blade 16.0%Language:CSS 3.1%Language:SCSS 1.7%Language:PHP 1.7%