Update Dev Notes
parent
fc66cd451a
commit
0327256502
14
Dev-Notes.md
14
Dev-Notes.md
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user