6cd126af41
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)
16 lines
480 B
PowerShell
16 lines
480 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
$pubKey = Get-Content -Raw $env:USERPROFILE\.ssh\id_rsa.pub
|
|
|
|
$script = @"
|
|
mkdir -p ~/.ssh
|
|
chmod 700 ~/.ssh
|
|
echo '$pubKey' >> ~/.ssh/authorized_keys
|
|
chmod 600 ~/.ssh/authorized_keys
|
|
"@
|
|
|
|
Set-Content "vps_script.sh" $script
|
|
|
|
# Mật khẩu sẽ được yêu cầu khi chạy bằng tay, nhưng vì tool không nhập được prompt mật khẩu,
|
|
# Tôi sẽ tạo ra hướng dẫn để người dùng chạy lệnh này hoặc dùng SSH Askpass.
|