Beta_cartrigesg_bd Beta v0.10
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user