Managing Cloud-Local Components¶
This page describes component management for --template cloud-local
environments. For backend component management, see
Managing Backend Components.
OQTOPUS CLI manages three cloud-local components:
cloudfrontendadmin
Each component corresponds to a separate source repository:
cloudhttps://github.com/oqtopus-team/oqtopus-cloudfrontendhttps://github.com/oqtopus-team/oqtopus-frontendadminhttps://github.com/oqtopus-team/oqtopus-admin
The cloud component provides all managed services: db, worker,
user_signup, admin, provider, and user. The frontend and admin
components are installable, but their service start and stop commands are
not yet implemented.
Release installs are stored under the cloud-local installation root
(~/.local/share/oqtopus/cloud-local/releases/), shared across environments
on the same machine.
Branch installs clone the repository directly into $ENV_ROOT/<component>/
and are local to that environment.
List Available Versions¶
Example output:
Branch installs appear at the top of the list with (installed).
Install All Components¶
This installs the latest stable cloud, frontend, and admin releases
independently. Each component resolves its own latest version from its
repository.
Install One Component¶
Install the latest stable version:
Install a specific version:
Install From A Branch¶
To install a component directly from a GitHub branch:
This is intended for development and testing of pre-release features.
Unlike a release install, a branch install:
- Clones the repository with
git clone --depth 1into$ENV_ROOT/<component>/instead of the shared installation root. - Always removes the existing directory and re-clones on repeated runs.
- Records the branch name in
.metadata:cloud_local_cloud_version=branch:develop
git must be installed to use this feature.
To remove a branch install:
This removes $ENV_ROOT/cloud/ and clears the binding from .metadata.
Update One Component¶
Installs the latest stable version and updates the environment binding.
Uninstall A Component Version¶
Removes the selected local release directory from the installation root.
Configuration Files¶
install, update, and uninstall do not modify files under config/.