Beta_cartrigesg_bd Beta v0.10

This commit is contained in:
2026-07-28 20:39:14 +03:00
parent 12fc229907
commit 5f7e4efbae
26 changed files with 690 additions and 33 deletions

View File

@@ -26,6 +26,10 @@ param(
[ValidateRange(1, 65535)]
[int]$ApplicationPort,
[Parameter(Mandatory = $false)]
[ValidateSet('full', 'cartridge')]
[string]$Edition = 'full',
[Parameter(Mandatory = $true)]
[string]$ConfigPath
)
@@ -213,6 +217,7 @@ $configDirectory = Split-Path -Parent $ConfigPath
New-Item -ItemType Directory -Path $configDirectory -Force | Out-Null
$config = [ordered]@{
edition = $Edition
database = [ordered]@{
host = '127.0.0.1'
port = $PostgreSqlPort