Stepper test (open stepper)

Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

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;"