Install
WOR HCP.
WOR HCP is a lightweight web control panel for WOR Host. The installer detects your Go service, verifies the release, preserves persistent data, and safely restarts the target.
Install the latest release
Open an existing WOR Go service, then run the installer:
wor goto example/admin-panel
curl -fsSL https://wor-hcp.worapong.com/download/installer.sh | bash
Install a specific version
curl -fsSL https://wor-hcp.worapong.com/download/installer.sh | bash -s -- v0.1.7
Install to an explicit target
curl -fsSL https://wor-hcp.worapong.com/download/installer.sh | bash -s -- --target=example/admin-panel
Preview the operation without changing the service:
curl -fsSL https://wor-hcp.worapong.com/download/installer.sh | bash -s -- v0.1.7 --target=example/admin-panel --dry-run
Administrator commands
./wor-hcp admin create
./wor-hcp admin list
./wor-hcp admin reset-password <username>
Run administrator commands from the service directory so the CLI and system service use the same .wor-hcp/ database.
Upgrade
./wor-hcp upgrade
The command checks the latest published version, detects the machine platform, verifies checksums, and asks before installing.
Safety
The installer verifies SHA-256 checksums, backs up the existing binary, preserves the WOR HCP data directory and the service's existing public/, and rolls back if the service cannot restart.
PERSISTENT DATASQLite and the encryption key are stored in
.wor-hcp/ by default. Set WOR_HCP_DATA_DIR only when another persistent location is required.