Documentation
¶
Overview ¶
Package main provides a CLI tool to create the first admin user. This is used during initial deployment to bootstrap the admin system.
Usage:
# Generate a new admin with random API key ./bootstrap-admin -db=$DATABASE_URL [email protected] # Use a specific API key (e.g., from environment) ./bootstrap-admin -db=$DATABASE_URL [email protected] -api-key=$BOOTSTRAP_ADMIN_KEY # Or via environment variables DATABASE_URL=postgres://... [email protected] ./bootstrap-admin
Click to show internal directories.
Click to hide internal directories.