Installation
& Build
Info: Please note, the use of Node, Webpack & Gulp and their advanced
settings are totally optional. You can use and customize the template without using them
too.
We have used understandable and easy-to-understand instructions to
help you install Mirbal- Laravel Admin & Dashboard Template in
your project. Follow the below steps to get started.
1.Xampp
- Prerequisite: Make sure to have the Xampp installed & running in your computer. PHP Version 8.2 or Higher
2.composer
- Prerequisite: Make sure to have the Composer installed & running in your computer. make sure the composer version must be 2.8.3 or Higher.
3. Install Yarn and Node.js (if not already installed)
- Prerequisite: Ensure
Node.js and npm (Node Package Manager) are installed on your system. Make sure to use node version 22.*.
- Command: If
Node.js is not installed, download and install it from the website. npm comes bundled with Node.js.
2. Install Node Modules
- Setup: Open your terminal or command prompt from the Mirbal_laravel_v1.0.0/Admin folder.
- Execute: Run the following command to install all the required Node.js packages and dependencies specified in the
package.json file:
- Explanation: This command will download and install all the necessary dependencies for your project, including build tools, libraries, and plugins, ensuring your development environment is set up correctly.
3. Install Composer Dependencies
- Setup: Open your terminal or command prompt from the Mirbal_laravel_v1.0.0/Admin folder.
- Execute: Run the following command to install all the required Laravel packages and dependencies specified in the
composer.json file:
4. Create a Production Build & Libraries Folder
- Command: After the dependencies are installed, generate a production-ready build by running:
- Outcome: This command compiles and optimizes your assets, creating a distribution folder (`
/assets`) that contains minified and ready-to-deploy files. It ensures your project is optimized for performance in a production environment.
5. Start in Development Mode
- Command: To begin development and work on your project in a live environment, execute:
- Outcome: The development server is accessible at http://localhost:8000. To run on other port just run command : php artisan serve --port=8001