Setup
Prerequisites
Please follow below steps to install and setup all prerequisites:
-
Composer
Make sure to have the Composer installed & running in your computer. If you already have installed Composer on your computer, you can skip this step.
-
Nodejs
Make sure to have the Node.js installed & running in your computer. If you already have installed Node on your computer, you can skip this step if your existing node version is greater than 20.
-
Server
Make sure to have the Xampp/Wampp installed & running in your computer. If you already have installed Xampp/Wampp on your computer, you can skip this step.
-
Git
Make sure to have the Git installed & running on your computer. If you already have installed git on your computer, you can skip this step
Installation
To setup the admin theme, follow below-mentioned steps:
-
Install Prerequisites
Make sure to have all above prerequisites installed & running on your computer
-
Install Dependencies
Open your terminal at the root directory of the project, go to your folder and enter the command
npm install. This would install all the required dependencies in thenode_modulesfolder.
After you finished with the above steps, you can run the following commands to run the project locally or build for production use:
| Command | Description |
|---|---|
composer install
|
To add Laravel packages defined in composer.json file. |
php artisan migrate
|
To migrating all database files. |
npm run build
|
To compile all assets files like SCSS, JS and will copy all images into the public directory. |
npm run build-rtl
|
To generate rtl css from css. |
php artisan serve
|
The development server is accessible at http://localhost:8000. |