Skip to main content
Divine eCommerce runs entirely in Docker, driven by a Makefile. You need Docker with Docker Compose and Git — PHP, PostgreSQL and Node all run in containers.

Install

1

Clone and configure

npm run switch_to_dev does the same copy. See Configuration for every key.
2

Start the stack

This starts nginx, PHP-FPM, PostgreSQL, Redis and the background worker (cron). Until the next two steps are done, the worker logs errors — that’s expected.
3

Install dependencies and build assets

npm-build type-checks, lints and checks formatting before it builds, so it fails on unformatted code.
4

Create the database and load demo data

make seed loads roles, demo accounts, categories, brands, products with options and cross-variants, specifications, bundles and store settings, then builds the filter and search indexes.
5

Open the store

Local ports

Demo accounts

Sign in with the email address — the login name isn’t accepted on the sign-in form. Every demo account uses the password divine2026. Six sample customer accounts are created too. See Staff & permissions for what each role can open.
These accounts are for local development. Never load them on a live store — see Deploy, upgrade & back up for a first production install.

Full demo data

make seed doesn’t load blog articles, info pages, menus or reviews, and there are no sample orders. To load every seeder, including content:
Seeding is destructive: several seeders empty their tables first, and that cascades into orders and products. Only seed a database you’re happy to wipe.

Everyday commands

The full list is in Commands & scheduled jobs.