
# installer-settings.toml
# Installation and deployment preset configuration for myproject
# Generated by: provctl gen deployment
# Generated at: 2025-11-20
#
# This file is consumed by:
#   - install.sh (CLI installer)
#   - syntaxis-tui (TUI-based installer)
#   - Dashboard (Web-based installer)
#
# End users select a preset, then installation proceeds with those components

[project]
name = "myproject"
version = "1.0.0"
description = ""
homepage = "https://github.com/example/myproject"

[installation]
# Whether to offer GUI installation
interactive = true
# Default preset if user doesn't choose
default_preset = "dev"
# Minimum requirements to run ANY preset
min_memory_mb = 64
min_disk_space_mb = 50

# Deployment presets - these are presented to the user
# Configured by KCL deployment module

[[presets]]
id = "local"
name = "Local"
# Preset details configured in deployment.k KCL module

# Supported databases - user can choose which to use
[databases]
default = "sqlite"

[[databases.options]]
type = "sqlite"
name = "SQLite"
description = "File-based, no server"
platforms = [linux, macos, windows]

# Installation steps/checklist
[checklist]
# These are shown to the user during installation
# Each step can be skipped or configured

[[checklist.steps]]
id = "system_check"
name = "System Requirements Check"
description = "Verify minimum memory, disk space, and OS compatibility"
required = true
skippable = false

[[checklist.steps]]
id = "database_setup"
name = "Database Configuration"
description = "Choose and configure your database backend"
required = true
skippable = false

[[checklist.steps]]
id = "service_config"
name = "Service Configuration"
description = "Configure services for this preset"
required = true
skippable = false

[[checklist.steps]]
id = "environment"
name = "Environment Setup"
description = "Set up environment variables and config directories"
required = true
skippable = false

[[checklist.steps]]
id = "dependencies"
name = "Install Dependencies"
description = "Install required system dependencies"
required = true
skippable = false

[[checklist.steps]]
id = "build"
name = "Build/Compile"
description = "Build and install application binaries"
required = true
skippable = false

[[checklist.steps]]
id = "start_services"
name = "Start Services"
description = "Start services according to selected preset"
required = false
skippable = true

# Quick links and resources
[resources]
documentation = "https://github.com/example/myproject/wiki"
issues = "https://github.com/example/myproject/issues"
discussions = "https://github.com/example/myproject/discussions"

# Post-installation verification
[verification]
# Commands to run after installation to verify success
[[verification.checks]]
command = "myproject --version"
expected_output_contains = "1.0.0"
description = "Verify CLI is installed and working"
