mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-10 08:05:22 +02:00
feat: add devcontainer for local setup
This commit is contained in:
parent
a725fda274
commit
6b33addb25
26 changed files with 671 additions and 130 deletions
|
|
@ -21,7 +21,7 @@ $ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|||
$BaseDir = Split-Path -Parent $ScriptDir
|
||||
Set-Location $BaseDir
|
||||
|
||||
$EnvFile = Join-Path $BaseDir 'api/.env'
|
||||
$EnvFile = if ($env:DOGRAH_ENV_FILE) { $env:DOGRAH_ENV_FILE } else { Join-Path $BaseDir 'api/.env' }
|
||||
$RunDir = Join-Path $BaseDir 'run'
|
||||
$LogsRoot = Join-Path $BaseDir 'logs'
|
||||
$LatestDir = Join-Path $LogsRoot 'latest'
|
||||
|
|
@ -29,6 +29,7 @@ $VenvPath = Join-Path $BaseDir 'venv'
|
|||
|
||||
Write-Host "Starting Dograh Services (DEV MODE) in BASE_DIR: $BaseDir"
|
||||
Write-Host "Auto-reload enabled for api/ directory changes"
|
||||
Write-Host "Environment file: $EnvFile"
|
||||
|
||||
###############################################################################
|
||||
### 1) Load environment variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue