Prerequisites
- Node.js 20 or newer
- pnpm 9 or newer
- Docker with the Compose plugin
Bootstrap
pnpm bootstrap is the full first-time setup. It writes env files, installs dependencies, starts Postgres and Redis, runs Medusa migrations, seeds the catalog, creates an admin user, and syncs the publishable key.
pnpm bootstrap:env when you only need env files and want to skip Docker.
Day-to-day commands
Data layout
All Docker persistence lives under.data/ in the project folder. .data/ is gitignored.
On NTFS or exFAT hosts (for example, a
/mnt/data external drive), Postgres, Redis, and Matomo (app plus MariaDB) auto-fall back to ~/.local/share/<project>/…. Override with POSTGRES_DATA_DIR, REDIS_DATA_DIR, MATOMO_DATA_DIR, and MATOMO_DB_DATA_DIR in .env.Multiple shops on one host
COMPOSE_PROJECT_NAME defaults to the project folder name, so you can clone Vulpy Commerce into two folders on the same machine and run them side by side without container name collisions. Set it explicitly in .env if you rename a checkout.
Quickstart
A compact version of this flow that gets you to the WebUI fast.
Architecture
See how the storefront, Medusa, Fox, and Matomo fit together.