feat: custom IFC converter with C++ geometry injection
Release pipeline / Get version (push) Has been cancelled
Release pipeline / Get Chart Name (push) Has been cancelled
Release pipeline / tests (push) Has been cancelled
Release pipeline / builds (push) Has been cancelled
Release pipeline / builds-ghcr (push) Has been cancelled
Release pipeline / test-deployments (push) Has been cancelled
Release pipeline / deploy (push) Has been cancelled
Release pipeline / Helm chart oci (push) Has been cancelled
Release pipeline / npm (push) Has been cancelled
Release pipeline / snyk (push) Has been cancelled
Release pipeline / Get version (push) Has been cancelled
Release pipeline / Get Chart Name (push) Has been cancelled
Release pipeline / tests (push) Has been cancelled
Release pipeline / builds (push) Has been cancelled
Release pipeline / builds-ghcr (push) Has been cancelled
Release pipeline / test-deployments (push) Has been cancelled
Release pipeline / deploy (push) Has been cancelled
Release pipeline / Helm chart oci (push) Has been cancelled
Release pipeline / npm (push) Has been cancelled
Release pipeline / snyk (push) Has been cancelled
- Add custom IFC converter using web-ifc C++ DLL for geometry extraction - Add GeometryInjector.cs: patches Speckle objects with mesh geometry - Add NativeIfcGeometry.cs: P/Invoke bindings to WebIfcDll - Add CustomMeshConverterFactory.cs: custom Xbim mesh converter - Configure fileimport-service dotnet IFC pipeline - Add VPS deployment config (docker-compose-vps.yml) - Add dev scripts: run_backend.bat, run_frontend.bat, start_dev.bat - Update .gitignore: exclude scratch/IFC-toolkit, engine_web-ifc - Memory optimization for Xbim (MemoryModel mode)
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
$passScript = "echo Huanld6248@@"
|
||||
Set-Content "askpass.bat" $passScript
|
||||
|
||||
$env:SSH_ASKPASS = "$(Convert-Path askpass.bat)"
|
||||
$env:DISPLAY = "d:0"
|
||||
|
||||
# Copy SSH Key
|
||||
$pubKey = Get-Content -Raw $env:USERPROFILE\.ssh\id_rsa.pub
|
||||
$sshCmd = "mkdir -p ~/.ssh && chmod 700 ~/.ssh && echo '$pubKey' >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
|
||||
|
||||
Write-Host "Configuring SSH Key..."
|
||||
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@100.64.0.3 $sshCmd
|
||||
|
||||
Write-Host "Creating folders..."
|
||||
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@100.64.0.3 "mkdir -p ~/setup/db ~/setup/keycloak"
|
||||
|
||||
Write-Host "Copying files..."
|
||||
scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r setup/db setup/keycloak docker-compose-vps.yml root@100.64.0.3:~/
|
||||
|
||||
Write-Host "Starting Docker Compose on VPS..."
|
||||
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@100.64.0.3 "docker compose -f docker-compose-vps.yml up -d"
|
||||
|
||||
Remove-Item "askpass.bat" -Force
|
||||
Write-Host "Deploy completed!"
|
||||
Reference in New Issue
Block a user