Skip to content

Modify scripts to pass dir paths as arguments#5

Open
Rub21 wants to merge 6 commits into
OSMCha:mainfrom
OpenHistoricalMap:main
Open

Modify scripts to pass dir paths as arguments#5
Rub21 wants to merge 6 commits into
OSMCha:mainfrom
OpenHistoricalMap:main

Conversation

@Rub21

@Rub21 Rub21 commented Aug 8, 2025

Copy link
Copy Markdown

I’ve modified a few points in the scripts, mainly related to path handling. Currently, the scripts are running in a container. https://github.com/OpenHistoricalMap/ohm-deploy/tree/ohmexpress/images/ohmx-adiff-builder.

I created a bash script https://github.com/OpenHistoricalMap/ohm-deploy/blob/ohmexpress/images/ohmx-adiff-builder/start.sh where I centralize all the required directories, and from there I call the update.sh and process.sh scripts as well and run every minute.

In addition, I’ve added an INITIAL_SEQNUM argument to update.sh, which allows starting from a specific sequence number. This is needed because when I create my OSMX database for OHM, it initially doesn’t have a sequence set, so it’s necessary to define an initial sequence — usually a few hours before the planet dump was created. that works fine.

Perhaps these changes won’t be adopted, or maybe they could be useful in the future when we can add a Docker container to run the scripts more automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant