This commit is contained in:
Zsolt Ero
2023-12-07 23:31:53 +01:00
parent d8d54f525c
commit e2e7f78494
5 changed files with 21 additions and 26 deletions

View File

@@ -11,7 +11,7 @@ def install_planetiler(c):
apt_get_update(c)
apt_get_install(c, 'openjdk-17-jdk')
c.sudo('mkdir -p /data/planetiler/bin')
c.sudo(f'mkdir -p {TILE_GEN_BIN}')
c.sudo(
f'wget -q https://github.com/onthegomap/planetiler/releases/download/v{PLANETILER_VERSION}/planetiler.jar '
@@ -20,4 +20,4 @@ def install_planetiler(c):
c.sudo(f'java -jar {PLANETILER_PATH} --help', hide=True)
c.sudo('chown -R ofm:ofm /data/planetiler')
c.sudo('chown -R ofm:ofm /data/ofm')