Skip to content
This repository has been archived by the owner on Oct 5, 2024. It is now read-only.

Minor tweaks to local setup #485

Merged
merged 2 commits into from
Mar 20, 2024
Merged

Minor tweaks to local setup #485

merged 2 commits into from
Mar 20, 2024

Conversation

olivas
Copy link
Contributor

@olivas olivas commented Mar 19, 2024

The commits are simple enough that they should be self-explanatory. A combination of a few one-liners, most of which are in documentation, but one to the bootstraph script as well.

@robsavoye
Copy link
Collaborator

Postgres uses the environment variables PGHOST, PGUSER, PGPASSWORD, so we should probably use those.

@emi420
Copy link
Collaborator

emi420 commented Mar 20, 2024

It also uses the configuration file in /etc/underpass/default.yaml

# Underpass config file
config:
    - underpass_db_url:
        - underpass:underpass@localhost:5432/underpass
    - planet_servers:
        - planet.maps.mail.ru
    - destdir_base:
        - /usr/local/lib/underpass/data/

@emi420
Copy link
Collaborator

emi420 commented Mar 20, 2024

But the change is good because those are local variables in the bash script.

Thank you @olivas for your contribution!

@emi420 emi420 merged commit 89c3dd4 into hotosm:master Mar 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants