初始化询价智能体新仓:同步本地工程并排除密钥与 .env。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
# Probe server paths for Jeecg import/start.
|
||||
$ErrorActionPreference = "Continue"
|
||||
Write-Output "=== host ==="
|
||||
hostname
|
||||
whoami
|
||||
|
||||
Write-Output "=== paths ==="
|
||||
@(
|
||||
"E:\wwwroot",
|
||||
"E:\wwwroot\.env",
|
||||
"C:\yutongda\tools\jdk8",
|
||||
"C:\yutongda\tools\mysql-8.0.39-winx64\bin\mysql.exe",
|
||||
"C:\yutongda\tools\pgsql",
|
||||
"E:\wwwroot\tools\jdk-17"
|
||||
) | ForEach-Object { "$_ => $(Test-Path $_)" }
|
||||
|
||||
Write-Output "=== jdk/maven ==="
|
||||
Get-ChildItem "C:\yutongda\tools" -Directory -EA SilentlyContinue | ForEach-Object { $_.Name }
|
||||
Get-ChildItem "E:\wwwroot\tools" -Directory -EA SilentlyContinue | ForEach-Object { $_.Name }
|
||||
Get-Command mvn -EA SilentlyContinue | ForEach-Object { $_.Source }
|
||||
Get-Command java -EA SilentlyContinue | ForEach-Object { $_.Source }
|
||||
|
||||
Write-Output "=== env db lines ==="
|
||||
if (Test-Path "E:\wwwroot\.env") {
|
||||
Select-String -Path "E:\wwwroot\.env" -Pattern '^(MYSQL_HOST|MYSQL_DB|MYSQL_USER|PG_HOST|LEDGER_PORT|YTD_REDIS)=' |
|
||||
ForEach-Object { $_.Line }
|
||||
}
|
||||
|
||||
Write-Output "=== incoming sql ==="
|
||||
Get-ChildItem "C:\Users\ytd_extdev_0903\incoming\jeecgboot*" -EA SilentlyContinue | ForEach-Object { $_.FullName + " " + $_.Length }
|
||||
Write-Output "DONE"
|
||||
Reference in New Issue
Block a user