Installing ElmapiCMS on Windows

Installing ElmapiCMS on Windows

This guide walks you through setting up ElmapiCMS 4.0 on Windows 10/11 from the private repository.

We recommend Laravel Herd for Windows.

Bought on CodeCanyon?

Extract elmapicms.zip first — see For CodeCanyon buyers — then skip Clone the repository below and continue from Install PHP dependencies.

Laravel Herd

Download the Windows installer from the Herd website.

Complete onboarding from the Herd UI. Herd uses %USERPROFILE%\Herd as the parked directory.

Clone the repository

cd Herd
git clone git@github.com:elmapicms/elmapicms.git elmapicms
cd elmapicms

Install PHP dependencies

composer install

Troubleshooting

If composer install fails, download vendor.zip from Releases and copy it into elmapicms, extract it, and try again.

Copy environment and generate key

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

Run database migrations and seed the database

php artisan migrate --seed

When prompted for SQLite, type y and press Enter.

Troubleshooting

If migrations fail, download elmapicms.sql from Releases and import it.

Build the frontend

npm install && npm run build

Visit the site

herd open

Login

Email:

[email protected]

Password:

password

Additional configuration

Database

SQLite is the default. For MySQL/MariaDB, update .env. See Laravel database configuration.

DB_CONNECTION=mysql
DB_DATABASE=elmapicms
DB_USERNAME=root
DB_PASSWORD=

Development

composer run dev

Next step

Search documentation

Find guides and reference pages