mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 13:38:18 -08:00
Update readme to explain how to create a postgres db on linux devices
This commit is contained in:
parent
eff22d2ac8
commit
8205578267
1 changed files with 9 additions and 0 deletions
|
|
@ -32,6 +32,15 @@ Install postgres. Known working version is version 13
|
|||
https://www.postgresql.org/download/
|
||||
```
|
||||
|
||||
On linux, if you run into problems creating the postgres database, edit /etc/postgresql/13/main/pg_hba.conf. Change the connection method of IPv4 and IPv6 connections from `md5` to trust.
|
||||
|
||||
```
|
||||
# IPv4 local connections:
|
||||
host all all 127.0.0.1/32 trust
|
||||
# IPv6 local connections:
|
||||
host all all ::1/128 trust
|
||||
```
|
||||
|
||||
Once postgres is installed and running, install the required gems and then migrate the database.
|
||||
|
||||
```bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue