Installation & Build
We have used understandable and easy-to-understand instructions to help you install Domiex - Admin & Dashboard Template in your project. Follow the below steps to get started.
1. Download the Package
- Source: Download the code from ThemeForest.
- Format: The file will be in a .zip file format.
2. Unzip the file
- Extract the contents of the downloaded .zip file to a directory on your computer. It will extract in the Domiex_v1.0.0 folder.
3. Xampp
- Make sure to have Xampp with PHP v8.2 or higher version installed & running on your computer. If you already have installed Xampp on your computer, you can skip this step.
4. Composer
- 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 Node.js and yarn (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.
4. Install Node Modules
- Setup: Open your terminal or command prompt from the Domiex_v1.0.0/Yii/Admin folder.
- Execute: Run the following command to install all the required Node.js packages and dependencies specified in the
package.json
file:
yarn
5.Composer Install
- Command: command to install all of the framework's dependencies..
composer install
6. Create a Production Build & Libraries Folder
- Command: After the dependencies are installed, generate a production-ready build by running:
yarn run build
- 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.
7. Start in Development Mode
- Command: To begin development and work on your project in a live environment, execute:
php yii serve
- Outcome: This will launch a local development server, allowing you to preview your project in real-time. The server also provides hot-reloading, meaning any changes you make to your files will automatically refresh in your browser. It will be accessible at http://localhost:8080.