Stepper test (open stepper)

Overview

This is a test page used to verify the behavior of an open stepper (stepper with open set to true).

Stepper component

Install the database

Run the following command to install FakeDB:

curl -fsSL https://fakedb.example.com/install.sh | bash

After the installation completes, verify that FakeDB is running:

fakedb --version

Configure the database

Create a configuration file for FakeDB:

fakedb:
  host: localhost
  port: 5432
  database: mydb
  username: admin
  password: secret
  max_connections: 100
  timeout: 30s
{
  "fakedb": {
    "host": "localhost",
    "port": 5432,
    "database": "mydb",
    "username": "admin",
    "password": "secret",
    "max_connections": 100,
    "timeout": "30s"
  }
}

Connect to the database

Start the FakeDB service and open a connection:

fakedb start
fakedb connect --host localhost --port 5432 --database mydb --username admin

To verify the connection is working, run a test query:

fakedb query "SELECT 1;"