Skip to main content
Divine eCommerce runs in Docker — nginx, PHP-FPM, PostgreSQL and Redis — orchestrated by a Makefile. You need Docker and Docker Compose; everything else lives in the containers.

Requirements

  • Docker and Docker Compose
  • Git
  • That’s it — PHP, PostgreSQL and Redis all run in containers.

Install

1

Clone and configure

2

Start the stack

This starts PHP-FPM, PostgreSQL and Redis, with nginx serving the app on http://localhost:8080. Run make help to see every target.
3

Install dependencies and build assets

4

Create the database

make migrate runs the Phinx migrations; make seed fills the store with demo data (products, categories, brands, a demo admin and sample orders).
5

Open the store

Visit http://localhost:8080 for the storefront and http://localhost:8080/admin for the admin panel.

Demo login

The seed data creates a demo administrator:
These are demo credentials for local development only. Change them (and reseed with your own data) before putting a store in front of real customers.

Everyday commands

make up-all also starts Adminer (a database GUI, on port 8888 by default) and the asset watcher — handy while developing.