Setup
Local Setup
Follow instructions onscreen(brew services start postgresql
& initdb /usr/local/var/postgres
)
postgres -V
psql
to enter cml
On Server
Create Ubuntu server on whatever Cloud Provider with some hard disk space or something idk
Install postgres
Setup user
Default user is postgres
, but you need to set the password as it doesn't have one
Edit
pg_hba.conf
ip4.me => Get your ipv4 address
Edit
postgresql.conf
to listen on all IP addresses
Find the line:
And turn into:
Save, exit, and restart in bash
For your cloud provider make sure the server can be accessed by all IPs
Last updated