You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have followed the instructions to install and configure the waymarkedtrails-backend project. I created the wmt_local_config/backend.py file with the following configurations:
from pathlib import Path
DB_HOST = '192.168.1.100' # not working
DB_PORT = 5432
DB_NAME = 'waymarkedtrails'
DB_USER = 'postgres'
DB_PASSWORD = 'xxxxxxxxxx'
SYMBOL_DIR = Path('/home/xxx/Maps/WaymarkedTrails/waymarked-trails-site/maps/symbols')
However, I haven't found a way to connect to a PostgreSQL database that is hosted on a different machine.
Where should I configure the connection string like postgresql://user:password@host_ip/waymarkedtrails to successfully connect to a remote PostgreSQL database?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I have followed the instructions to install and configure the waymarkedtrails-backend project. I created the wmt_local_config/backend.py file with the following configurations:
However, I haven't found a way to connect to a PostgreSQL database that is hosted on a different machine.
Where should I configure the connection string like postgresql://user:password@host_ip/waymarkedtrails to successfully connect to a remote PostgreSQL database?
Thanks for your help!
Best regards,
Andrea
Beta Was this translation helpful? Give feedback.
All reactions