Documentation
¶
Overview ¶
Package main is the entry point for the Commerce standalone binary.
Commerce can be run as a standalone service with embedded SQLite or connected to external analytics via ClickHouse.
Usage:
commerce serve [address] # Start the server commerce migrate # Run database migrations commerce admin create [email] # Create admin user
Environment Variables:
COMMERCE_DIR Data directory (default: ./commerce_data) COMMERCE_DEV Enable development mode (default: false) COMMERCE_ANALYTICS Analytics DSN (optional) COMMERCE_SECRET Encryption/session secret
Click to show internal directories.
Click to hide internal directories.