Skip to content

Commit

Permalink
Merge pull request #347 from teksi/2024-08-02-minimal-requirements
Browse files Browse the repository at this point in the history
2024 08 02 minimal requirements
  • Loading branch information
ponceta authored Aug 12, 2024
2 parents 35c9eef + 0fbfaf7 commit 93f00d1
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 5 deletions.
19 changes: 16 additions & 3 deletions docs/en/installation-guide/database-initialization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,27 @@ Back in pgAdmin :

* Propably you want to rename the database: Right click the database, click `Properties...` and rename the database.

There are now 7 schemas in the database (public, tww_import, tww_network, tww_swmm, tww_od, tww_sys, tww_vl)
There are now 6 `schemas <https://teksi.github.io/wastewater/en/user-guide/layerexplanations/namingconventions.html#schemas-in-the-tww-database>`_ in the database

+ public
+ tww_app
+ tww_cfg
+ tww_od
+ tww_sys
+ tww_vl


Create minimal roles and access
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. note:: The TWW roles are defined in the https://github.com/TWW/datamodel/blob/master/12_0_roles.sql (per cluster) and https://github.com/TWW/datamodel/blob/master/12_1_roles.sql (per database) files. It is recommended to use these when using TWW in a production environment.
.. note:: The TWW roles are defined in the
+ `12_0_roles.sql <https://github.com/TWW/datamodel/blob/master/12_0_roles.sql>`_ (per cluster) and
+ `12_1_roles.sql <https://github.com/TWW/datamodel/blob/master/12_1_roles.sql>`_ (per database) files.


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

Copy paste and run the two .sql one after the other in the query editor of pgAdmin4 (Tools > Query Tool).
Copy paste and run the two .sql one after the other in the query editor of pgAdmin (Tools > Query Tool).

Empty data model
^^^^^^^^^^^^^^^^
Expand Down
9 changes: 7 additions & 2 deletions docs/en/installation-guide/server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,19 @@ Required Software
Server installation
~~~~~~~~~~~~~~~~~~~

* Install PostgreSQL (>=9.6)
* Install PostgreSQL (>=15.1)

* `Download page <http://www.postgresql.org/download>`_

* Install PostGIS (>=2.4)
* Install PostGIS (>=3.4.2)

* E. g. by using the (Application) Stack Builder shipped with the EnterpriseDB version of posgreSQL on Windows and macOS

.. note::

Check the `TEKSI Roadmap <https://github.com/teksi/Home/wiki/TEKSI-modules-releases-and-roadmap#teksi-modules-releases>`_ to see latest minimal requirements


.. note::

The following instructions are **optional**:
Expand Down
4 changes: 4 additions & 0 deletions docs/en/vm/about.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
About
=====
.. warning::

This part of the documentation is outdated and needs a review


This represents a guide on how to download and install a virtual machine (VM) that has a
working TWW installation with a demo dataset. The VM also has a working demo of the `QWAT water project <https://github.com/qwat/QWAT>`_ .
Expand Down

0 comments on commit 93f00d1

Please sign in to comment.