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
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:Everyday commands
make up-all also starts Adminer (a database GUI, on port 8888 by default) and the asset watcher — handy while developing.