48 lines
1.4 KiB
Markdown
48 lines
1.4 KiB
Markdown
# Laravel AdminLTE 3 & Toastr Integrated Template
|
|
|
|
This Laravel template is pre-configured with [AdminLTE 3](https://adminlte.io) for an admin panel UI and [Toastr](https://codeseven.github.io/toastr) for flash notifications, allowing quick and easy setup for your Laravel projects.
|
|
|
|
## Setup Instructions
|
|
|
|
Follow these steps to initialize a new project using this template:
|
|
|
|
```bash
|
|
# 1. Navigate to the template directory
|
|
cd /path/to/template-directory
|
|
|
|
# 2. Install PHP dependencies via Composer
|
|
composer install
|
|
|
|
# 3. Install JavaScript dependencies using npm
|
|
npm install
|
|
|
|
# 4. Compile front-end assets
|
|
npm run build
|
|
```
|
|
|
|
## Start a Development Session
|
|
|
|
To run the application in a development environment, follow the steps below:
|
|
|
|
```bash
|
|
# 1. Copy the example environment file and configure the .env settings
|
|
cp .env.example .env
|
|
|
|
# 2. Generate a new application key
|
|
php artisan key:generate
|
|
|
|
# 3. Run database migrations to set up your tables
|
|
php artisan migrate:fresh
|
|
|
|
# 4. Register an admin account
|
|
php artisan register
|
|
|
|
# 5. Start the development server
|
|
npm run start
|
|
```
|
|
|
|
## Additional Setup Notes
|
|
|
|
- AdminLTE: AdminLTE is already integrated into the template. For further customization, check out the [AdminLTE Documentation](https://github.com/jeroennoten/Laravel-AdminLTE).
|
|
- Toastr: Toastr is set up for easy flash messaging. Explore more at the [Toastr Documentation](https://github.com/brian2694/laravel-toastr).
|