From a0108dfd0586630f487c8f282aebf3db2d22dd49 Mon Sep 17 00:00:00 2001 From: Zachary Klosko <31484611+zklosko@users.noreply.github.com> Date: Mon, 27 Apr 2020 19:27:16 -0400 Subject: [PATCH] Corrected formatting errors --- docs/database.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/database.md b/docs/database.md index a7feefbbd..1ec3f2a30 100644 --- a/docs/database.md +++ b/docs/database.md @@ -21,14 +21,15 @@ Here are some brief instructions for how to get starting using it as a developer 1. Download and install release from their [github page](https://github.com/workflowproducts/postage/releases/) - Additional instructions [here](https://github.com/workflowproducts/postage/) 2. Setup port-forwarding for the vagrant VM - check the VirtualBox Settings for the VM -> Network -> Advanced -> Port Forwarding -> Forward HostPort 5550 to GuestPort 5432 3. Modify PostgreSQL to accept connections from outside localhost -> edit /etc/postgresql/VERSION#/main/postgresql.conf - uncomment and modify the listen_address to be `listen_addresses = '*' `you may also need to edit pg_hba.conf in the same directory and allow Ipv4 connections from your localhost. I modified it to all as security wasn't a concern. -4. Setup a Postgres username/password for super user in Ubuntu etc use ``` +4. Setup a Postgres username/password for super user in Ubuntu etc use +``` sudo -u postgres psql postgres # \password postgres - +``` Enter new password: -``` + 5. Startup Postage by running `postage` and edit the postage-connections.conf and set the port to 5550 and save it. Then type in the username postgres and password you set above. 6. Launch and select the airtime database to view the copy running on your vagrant box. To see the data/schema in a particular table click Schemas->Tables->table_name and then DesignTable or EditData