Initialisierung der Datenbank

Für die Konfiguration der Datenbank können sie pgAdmin verwenden.

Bemerkung

Mit diesem Link können sie lernen wie man Installation von pgAdmin benutzt.

Vorgehen

In pgAdmin4

  • Verbinden Sie sich mit dem Datenbankserver

  • Erstellen Sie eine neue Datenbank mit UTF8-Kodierung.

E.g. tww_demo, avoid spaces, dots, uppercases and special characters As proposed in https://stackoverflow.com/questions/2878248/postgresql-naming-conventions

Rollen und Zugriffsrechte erstellen

TWW can be installed per database cluster using the new TEKSI Module Management Tool. They only have to be installed once!

See the current TMMT Documentation for a step by step help

It is highly recommended to use these when using TWW in a production environment.

Install data model with or without demodata

See the current TMMT Documentation for a step by step help

After you have setup successfully the database with or without demodata, you can check the schemata via pgAdmin

There will be 6 schemas in the database

  • public

  • tww_app

  • tww_od

  • tww_sys

  • tww_vl

  • pg2ili_abwasser