CakePHP
Installation & Build
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. 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/CakePHP/Admin folder.
  • Execute: Run the following command to install all the required Node.js packages and dependencies specified in the package.json file:
    yarn
  • 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.
5. 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 (`/webroot`) that contains minified and ready-to-deploy files. It ensures your project is optimized for performance in a production environment.
6. Requirements
  • System Requirements: Please ensure CakePHP meets its system requirements: https://book.cakephp.org/4/en/installation.html.
  • Server: Make sure XAMPP or WAMP is installed and running on your computer. Minimum PHP version required is 7.4 or higher (8.2 supported).
  • Composer: Ensure Composer is installed on your computer. If it's already installed, you can skip this step.
7. Install
  • Command: Navigate to your project folder and run the following command to install dependencies:
    composer install
  • Outcome: This installs all necessary packages in the `vendor` folder.
8. Start
  • Run Locally: Start the development server using:
    bin\cake server
    The server will be accessible at http://localhost:8765/.
  • Custom Port: To run the server on a different port, use:
    bin\cake server -p 5673
    The server will be accessible at http://localhost:5673/.