Commit Graph

6 Commits

Author SHA1 Message Date
Haitao Pan
2252d24708 fix: kill legacy http.server, reload systemd and start services after deploy 2026-06-09 20:40:46 +08:00
a421eb2e4f
xworkspace-portal.service: serve dashboard on port 17000 (#7)
* xworkspace-portal.service: use dashboard on port 17000

- Change portal service from python http.server:7000 to npm dev server:17000
- Update chrome app launcher to use port 17000
- Add dashboard source sync and npm install tasks
- Update portal URL and port variables

* production: build dashboard on target with npm run build, serve with npm run preview

- Add xworkspace_console_dashboard_local_src variable for local dashboard path
- Sync dashboard source from controller to target via rsync
- Build dashboard with npm install && npm run build on target
- Serve production build with npm run preview instead of dev
- Copy dist/ and package.json to portal directory for preview server

---------

Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>
2026-06-09 19:54:24 +08:00
Haitao Pan
aee1f2b5d5 Ensure workspace user exists before provisioning 2026-06-08 18:40:26 +08:00
Haitao Pan
466cb29a1b Install ttyd from official release binary 2026-06-08 18:21:26 +08:00
Haitao Pan
b6d18f5944 Install Chrome source before workspace runtime packages 2026-06-08 18:13:53 +08:00
Haitao Pan
8c71b27112 feat(playbook): add xworkspace console runtime setup 2026-06-08 07:14:24 +08:00