nself init
هذا المحتوى غير متوفر بلغتك بعد.
nself init
Section titled “nself init”Initialize a new ɳSelf project with an interactive configuration wizard.
Synopsis
Section titled “Synopsis”nself init [flags]Description
Section titled “Description”nself init launches an interactive setup wizard that creates a pristine .env configuration for a new ɳSelf project. It prompts for your project name, base domain, and email, then auto-generates cryptographically secure secrets (Postgres password, Hasura admin secret, JWT key).
You can choose which optional services to enable during init (Redis, MinIO, MeiliSearch, Mailpit, Monitoring). Each selection updates the generated .env accordingly. All values are validated before being written, domain format, password strength, and required fields are all checked.
After nself init completes, run �P1� build to generate docker-compose.yml and nginx configs, then �P2� start to boot the stack.
| Flag | Default | Description |
|---|---|---|
--wizard | false | Run the full 10-step interactive wizard |
--interactive | false | Explicitly enable interactive wizard |
--non-interactive | false | Use all defaults without prompts (CI-safe) |
--fast | false | Skip advanced options, use smart defaults |
--demo | false | Auto-configure with all services enabled |
--full | false | Create .env.dev, .env.staging, .env.prod, .env.secrets |
--force | false | Overwrite existing configuration |
--template | "" | Use a specific template: express, fastapi, go, rust |
--name | "" | Project name (sets PROJECT_NAME in generated .env) |
--domain | "" | Base domain (skips interactive domain prompt, e.g. myapp.dev) |
--skip-validation | false | Skip configuration validation |
--quiet | false | Suppress output messages |
--help, -h | none | Show help |
Examples
Section titled “Examples”# Minimal interactive setupnself init
# Full 10-step wizardnself init --wizard
# All services enabled (demo/evaluation)nself init --demo
# Create all env files at oncenself init --full
# Smart defaults, no promptsnself init --fast
# Non-interactive, all defaults, safe for CInself init --non-interactive
# Skip prompts by supplying name and domain directlynself init --name myapp --domain myapp.dev
# Start from a Go project templatenself init --template go --name myapi --domain myapi.local