Skip to main content

Installation

Reading the step by step instructions below is highly recommended.
CS:DM requires an accessible PostgreSQL database to work properly.

You can watch the following videos to see the installation steps:

Step 1: The database

A PostgreSQL database version 17 or later is required to use CS Demo Manager, the application will show the following screen until a connection has been established:

Database connection

tip

If you want to run the database in a Docker container please read this documentation.

Instructions depends on your Linux distribution, please refer to the official documentation.
Once PostgreSQL is installed (run psql --version to make sure it's installed), you have to change the postgres user password:

  1. sudo -u postgres psql
  2. ALTER USER postgres PASSWORD 'mypassword';
  3. \q to quit psql

Step 2: Setup psql

The psql program is the PostgreSQL command-line interface used by CS Demo Manager to create the database automatically.
This step explains how to add psql to your PATH environment variable so that the application can find it and invoke it.

It's automatically done during the PostgreSQL installation.

Step 3: The application

  1. For RedHat Linux distributions only, enable the Gnome tray extension:
    1. sudo dnf install gnome-shell-extension-appindicator
    2. sudo dnf install gnome-extensions-app
    3. Reboot
    4. Open the Extensions application and enable AppIndicator and KStatusNotifierItem Support.
  2. Download the last CS Demo Manager installer from GitHub and install it.
  3. Type the password you chose during the PostgreSQL installation and click on "Connect".

Troubleshooting

Can I use a remote database?

Yes, see the documentation.

PSQL binary not found

If you have the error message "PSQL binary not found" it means that the PostgreSQL psql program is not in your PATH environment variable.
Please follow the Step 2: Setup psql instructions to fix this issue.

ECONNREFUSED error

This error means the PostgreSQL server is not running or is not reachable.
You should:

  1. Make sure the postgresql service is running. On Windows you can do this by doing the following:
    1. Search for services from the Windows search bar and open the Services application.
    2. Find the service postgresql-x64 and ensure it's running. If it's missing, it means PostgreSQL is not installed. Windows Services
  2. Make sure the port is correct. The default port is 5432, but you may have changed it during installation.
    1. Open a terminal (cmd.exe on Windows)
    2. Type psql -h 127.0.0.1 -U postgres -p 5432 and press enter. If you have the same error, chances are the port is incorrect.
  3. Re-install PostgreSQL and make sure to set the port to 5432 during the installation.
note

If you are using a remote database, ensure the server is running, and the IP and port are correct.

The app tray icon is missing

On RedHat-based Linux distributions the system tray is not enabled by default.
You have to install the "Gnome extensions app" and enable it to see the tray icon as mentioned in the installation instructions.