commerce

command
v1.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2026 License: MIT Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL