First-Time Setup

When deploying the Streav platform for the first time or upgrading to a new version, it is expected that the instances will fail to run initially. This is because a one-time setup command is needed to configure the database and, if necessary, create the first administrator user.

Follow these steps to perform the initial setup:

  1. Ensure that the PostgreSQL instance is up and reachable before starting the setup process.
  2. Run the following command to initiate the setup process:
    docker run --rm -it \
      -e Postgres="Server=host.docker.internal;Port=5432;Database=streav;User Id=streav;Password=test;" \
      --add-host=host.docker.internal:host-gateway \
      streav/cli:beta setup
  3. The setup command will configure the database and prompt you for the necessary information to create the first administrator user.
  4. Once the setup process is complete, start the platform by running the following command in the directory containing your docker-compose.yml file:
    docker compose up -d

Congratulations! You have successfully completed the installation and setup of the Streav platform.

If you encounter any issues during the installation, feel free to reach out to our support team for assistance.