mirror of
https://github.com/hanzoai/compute.git
synced 2026-10-30 14:50:41 +00:00
salvage/fix-allinone
The previous change (#12) deleted docker-entrypoint.sh and NOTHING ELSE: the Dockerfile edit was never staged, because `git add -A Dockerfile docker-entrypoint.sh` aborted on the second path — the file had already been removed by `git rm` — and I pushed without reading the staged diff. That left main strictly worse than before: ALLINONE still present, still last, still the default build target, and now CMD-ing a script that no longer exists. This removes the stage and its guacd base for real. Verified by reading the staged diff: Dockerfile's last FROM is STANDARD.
Hanzo Visor
Cloud operating-system management platform (Go + React).
Architecture
Hanzo Visor has two parts:
| Name | Description | Language | Source code |
|---|---|---|---|
| Frontend | Web UI | JavaScript + React | https://github.com/hanzoai/visor/tree/main/web |
| Backend | RESTful API + Beego | Go + Beego + Postgres | https://github.com/hanzoai/visor |
Installation
Hanzo Visor uses Hanzo IAM as the authentication system. Create an organization and an application for Visor in your IAM instance, then wire it via app.conf.
Necessary configuration
Get the code
git clone https://github.com/hanzoai/iam
git clone https://github.com/hanzoai/visor
Setup database
Visor stores users, nodes, and resource information in a Postgres database named visor (auto-created). The DB connection string is configured in conf/app.conf:
dataSourceName = postgres://user:pass@localhost:5432/visor
Configure IAM
After creating an organization and an application in Hanzo IAM, update clientID, clientSecret, iamOrganization, and iamApplication in app.conf.
Run
go run main.go
Open browser: http://localhost:16001/
Optional
RDP
Run guacd for RDP connections:
docker run --name guacd -d -p 4822:4822 guacamole/guacd
License
Languages
Go
99.9%