-
Notifications
You must be signed in to change notification settings - Fork 0
NodeJS PostGis Ressources
Romain Tourte edited this page Sep 25, 2019
·
3 revisions
MAC install PostGis
brew install postgres
pg_ctl -D /usr/local/var/postgres start
export PGDATA='/usr/local/var/postgres'
pg_ctl status
If that’s a fresh installation, we need to initialize the database cluster:
initdb /usr/local/var/postgres
createdb postgis_oceanSensors
We’ll use the psql command line utility to connect to the database that we’ve just created:
psql postgis_oceanSensors
into postgrsql.conf
listen_addresses = '*'
into pg_hba.conf
host all all 0.0.0.0/0 md5