Files
financer/doc
MK13 aa92718e74 Add PostgreSQL support
Therefore add migration scripts and default connection settings. Also
add a draft chapter in the documentation about how to setup the database
. Make HSQLDB the default for integration tests.
2019-03-16 00:04:13 +01:00
..
2019-03-16 00:04:13 +01:00

                                   ___ _
                                  / __(_)_ __   __ _ _ __   ___ ___ _ __
                                 / _\ | | '_ \ / _` | '_ \ / __/ _ \ '__|
                                / /   | | | | | (_| | | | | (_|  __/ |
                                \/    |_|_| |_|\__,_|_| |_|\___\___|_|


    1. About
    2. Content
    3. Overview
    4. Architectural overview
    5. Account types
    6. Booking rules
    7. Setup


    7. Setup
    ========
    This chapter explains how to setup a financer instance. It requires PostgreSQL as a database backend and a Java
    Servlet Container (e.g. Apache Tomcat) as a runtime environment.

    7.1 Database setup
    ------------------
    First install PostgreSQL. Then create a user for financer:
        sudo -iu postgres
        createuser --interactive
    Enter 'financer' as role name and make it superuser. Then create the actual database:
        createdb financer
    Naming both, the user and the database, 'financer' is the expected default. If you want any other names you need
    to adjust the database connection settings of the financer application.