.. _ChapterOverview: ******************** Transaction Database Setup ******************** Supported platform ================== It should be able to run on linux with postgresql installed. Running database setup script ================================== Example inputs for running setup script: .. code-block:: JSON :caption: *Example inputs* :name: Example inputs ./transaction_db_setup.sh Enter New Postgres Username: Enter New Password For New Postgres User: Enter Database Name: Input Requirements ======== * Username : must be lower case. Underscores and dashes are allowed. 16 char max. * Password : may contain any character except for single quote: ' . 63 char max. * Database : must be lower case. Alphanumeric characters only. 63 char max. Response ======== A successful run of the setup script should return a response ending like this: .. code-block:: JSON :caption: *Example response* :name: Example response CREATE DATABASE CREATE ROLE GRANT Redirecting to /bin/systemctl restart postgresql-12.service