Installing LaraDashboard is super simple using Github.
Before starting, you can check a demo of Lara Dashboard – https://demo.laradashboard.com/
Clone Github Repository #
First, lets clone the Github repository
git clone git@github.com:laradashboard/laradashboard.git
cd laradashboard
Install Composer and NPM #
Lets install the composer and node for the project.
composer install
npm install
Genera Artisan key and necessary linkings #
php artisan key:generate
php artisan storage:link
Migrate database with seeder #
Create database called – laradashboard
Create .env
file by copying .env.example
file.
Now, generate fresh migration with seeder –
php artisan migrate:fresh --seed && php artisan module:seed
Start Server – PHP & Node #
Why start PHP server –
For easy start, we can just start this application in localhost:8000.
Wht Npm –
We’ve used Tailwind CSS and module based JavaScript, which requires to compile the script and we’ve used Vite for that. so, to compile the tailwind css styles and module scripts, we need to run npm run dev.
php artisan serve
npm run dev
So, You’ve got the project of Lara Dashboard on your http://localhost:8000
Demo Login #
If you run the seeder successfully, you can now use the below credentials to login easily.
Email - superadmin@example.com
password - 12345678
If you still have any confusion, please reach out to our support.