Installing ElmapiCMS with Docker

Installing ElmapiCMS with Docker

This guide explains how to run ElmapiCMS v3 with Docker using your CodeCanyon download.

We recommend Laravel Sail.

Bought via GitHub?

Use the GitHub Docker guide instead.

Prerequisites
Docker Desktop (Docker Engine and Compose)


Prepare the project files

  1. Open your CodeCanyon package and locate Elmapi3.zip.
  2. Extract it (the folder named Elmapi3-main) and place it under ~/Herd.
  3. Rename the folder to Elmapi3 so the app is available at http://elmapi3.test.
  4. In Terminal:
cd ~/projects/Elmapi3

Install PHP dependencies

Windows (PowerShell):

composer install

macOS / Linux:

composer install

If composer install fails, copy vendor.zip from your CodeCanyon download into Elmapi3, extract it, and try again.

Folder structure

Copy environment and generate key

Windows:

copy .env.example .env
php artisan key:generate

macOS / Linux:

cp .env.example .env
php artisan key:generate

Install Laravel Sail

php artisan sail:install

Choose services and confirm. This creates docker-compose.yml.

Start Sail

./vendor/bin/sail up

Run database migrations and seed sample data

./vendor/bin/sail artisan migrate --seed

Note – If something fails, try ./vendor/bin/sail down -v && ./vendor/bin/sail up.

If migrations still fail, import elmapi3.sql from your CodeCanyon package into the database Sail uses.

Visit the site

Open http://localhost.

Login

Email:

[email protected]

Password:

password

Npm packages

public/build includes a built frontend. For asset development: ./vendor/bin/sail npm install.

Development

./vendor/bin/sail composer run dev

Production

./vendor/bin/sail npm run build

Next step

Search documentation

Find guides and reference pages