Quick Start¶
This page covers two workflows: cloud-local and backend. Choose the one that matches your use case.
Cloud-Local Quick Start¶
This guide creates a local cloud-local environment, installs the cloud-local components, starts all managed services, checks their status, and stops them.
Create A Cloud-Local Environment¶
Install Cloud-Local Components¶
This installs the latest stable releases of:
cloudhttps://github.com/oqtopus-team/oqtopus-cloudfrontendhttps://github.com/oqtopus-team/oqtopus-frontendadminhttps://github.com/oqtopus-team/oqtopus-admin
Start Cloud-Local Services¶
The db service is started first via Docker Compose. The remaining services
(worker, user_signup, admin, provider, user) are started as managed
processes.
Check Cloud-Local Status¶
Example output:
db: Running (my-cloud-db-1, my-cloud-minio-1, my-cloud-mc-1)
worker: Running (PID 12345)
user_signup: Running (PID 12346)
admin: Running (PID 12347)
provider: Running (PID 12348)
user: Running (PID 12349)
Stop Cloud-Local Services¶
Services are stopped in the reverse of the start order. db is stopped last
via docker compose down.
Cloud-Local Next Steps¶
- Learn what
initcreates in Cloud-Local Environment. - Install, update, or remove components in Managing Cloud-Local Components.
- Start and stop individual services in Starting and Stopping Cloud-Local Services.
Backend Quick Start¶
This guide creates a local backend environment, installs the backend components, starts all managed services, checks their status, and stops them.
Create A Backend Environment¶
oqtopus init creates the local environment directory and prepares
configuration examples, log directories, PID storage, and the sse_work
directory.
The environment name is also used to generate Docker-related configuration
values such as Docker image and network names. Use a Docker-safe name with
lowercase letters, digits, ., _, or -.
Backend code is not installed during init.
Install Backend Components¶
This installs the latest stable releases of:
enginehttps://github.com/oqtopus-team/oqtopus-enginetranquhttps://github.com/oqtopus-team/tranqu-servergatewayhttps://github.com/oqtopus-team/device-gateway
Each component resolves its own latest version independently.
These are installable component targets. The engine component provides
multiple managed services, so the service targets used by start, stop, and
restart include core, sse_engine, mitigator, estimator, and
combiner in addition to tranqu and gateway.
To see available versions before installing a specific component version, use:
For development or testing pre-release features, you can install a component directly from a GitHub branch instead of a release:
See Managing Backend Components for details.
Start Backend Services¶
This starts all managed backend services in the required order.
Check Backend Status¶
Example output:
core: Running (PID 12345)
sse_engine: Running (PID 12346)
mitigator: Running (PID 12347)
estimator: Running (PID 12348)
combiner: Running (PID 12349)
tranqu: Running (PID 12350)
gateway: Running (PID 12351)
Stop Backend Services¶
Services are stopped in the reverse of the start order.
Backend Next Steps¶
- Learn what
initcreates in Backend Environment. - Install, update, or remove components in Managing Backend Components.
- Start and stop individual services in Starting and Stopping Services.