Update Dev Notes

Jon Roeber 2024-01-18 04:46:53 +00:00
parent fc66cd451a
commit 0327256502

@ -29,6 +29,12 @@ GRANT USAGE ON SCHEMA public TO qgis;
GRANT SELECT ON qgis_friendly TO qgis;
```
Edit `/etc/postgresql/14/main/postgresql.conf` to have:
```conf
listen_addresses = '*'
```
Edit `/etc/postgresql/14/main/pg_hba.conf` to have:
```conf
@ -36,10 +42,16 @@ Edit `/etc/postgresql/14/main/pg_hba.conf` to have:
host all all 0.0.0.0/0 scram-sha-256
```
`systemctl reload postgresql`
`systemctl restart postgresql`
Allow PG internet access: `ufw allow postgresql` (not secure, need to add certificate, fine for testing)
Connect from local machine:
```console
sudo apt install postgresql-client
psql -h chirpstack.roeber.dev -U qgis -d chirpstack_integration
## 20240116
https://github.com/CrunchyData/pg_featureserv - a lightweight alternative to Geoserver for serving WFS3 (found from https://gis.stackexchange.com/a/379506)