Files
oam/knowledge base/dblab.md
2024-08-28 18:31:59 +02:00

1.3 KiB

dblab

Database Lab Engine client CLI.

  1. TL;DR
  2. Further readings
    1. Sources

TL;DR

Setup
# Install.
curl -sSL 'dblab.sh' | bash

# Initialize CLI configuration.
# Assumes that 'localhost:2345' forwards to the Database Lab Engine machine's at port 2345'.
dblab init --environment-id 'tutorial' --url 'http://localhost:2345' --token 'secret_token' --insecure
Usage
# Fetch the status of the Engine's instance.
dblab instance status

# Create clones.
dblab clone create --username 'dblab_user_1' --password 'secret_password' --id 'my_first_clone'

Further readings

Sources