Start a new Laravel 8 project with the AdminLTE template installed.
- Create database.
- Clone repository
git clone https://github.com/mairorodrigues/Laravel-AdminLTE.git
- Copy
.env.example
to.env
- Set valid database credentials of env variables
DB_DATABASE
,DB_USERNAME
, andDB_PASSWORD
- Run
composer install
- Create symbolic link for AdminLTE (Run the commands as an administrator)
- Windows example:
mklink /d "C:\xampp\htdocs\laravel-adminlte\public\assets\adminlte" "C:\xampp\htdocs\laravel-adminlte\vendor\almasaeed2010\adminlte"
- Linux example:
ln -s public_html/laravel-adminlte/vendor/almasaeed2010/adminlte public_html/laravel-adminlte/public/assets/adminlte
- Run
php artisan migrate
php artisan db:seed
php artisan key:generate
php artisan serve
- Access the application. Example:
http://127.0.0.1:8000
- Login:
[email protected]
Password:root