all lists on lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH datacenter-manager] ui: adjust testing description
@ 2026-03-04  7:04 Dominik Rusovac
  2026-03-04  8:32 ` Maximiliano Sandoval
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Rusovac @ 2026-03-04  7:04 UTC (permalink / raw)
  To: pdm-devel

Describe how to use trunk server for testing.

Signed-off-by: Dominik Rusovac <d.rusovac@proxmox.com>
---
 ui/README.md | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/ui/README.md b/ui/README.md
index f083ea5..05d8ae6 100644
--- a/ui/README.md
+++ b/ui/README.md
@@ -2,20 +2,12 @@
 
 # Testing
 
-1.) start datacenter manager
+Assuming pdm is running on, for example, 172.16.254.1:8443.
 
-sudo ./target/debug/proxmox-datacenter-privileged-api
-sudo -u www-data ./target/debug/proxmox-datacenter-api 
+To test on http://localhost:8080, use:
 
-2.) either: start local trunk server
+    trunk serve --proxy-backend=https://172.16.254.1:8443/api2/ --proxy-insecure
 
- trunk serve --proxy-backend=https://localhost:8443/api2/ --proxy-insecure
+To test elsewhere, say https://dev:8080/, generate a cert to obtain `api.key` and `api.pem`, and use:
 
- then test with url: http://localhost:8080
-
-2.) or: copy files into pdm js folder:
-
-    make all
-    make install
-
-And test with url https://localhost:8443
+    trunk serve --address 0.0.0.0 --serve-base / --proxy-backend https://172.16.254.1:8443/api2/ --public-url https://dev:8080/ --proxy-insecure --tls-key-path api.key --tls-cert-path api.pem
-- 
2.47.3





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-03-04  8:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-04  7:04 [PATCH datacenter-manager] ui: adjust testing description Dominik Rusovac
2026-03-04  8:32 ` Maximiliano Sandoval

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal