mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 14:02:15 +00:00
work
This commit is contained in:
@@ -28,7 +28,7 @@ def prepare_tile_creator(c):
|
|||||||
install_planetiler(c)
|
install_planetiler(c)
|
||||||
put(
|
put(
|
||||||
c,
|
c,
|
||||||
scripts / 'planetiler' / 'run_planet.sh',
|
scripts / 'tile_creator' / 'run_planet.sh',
|
||||||
PLANETILER_DIR,
|
PLANETILER_DIR,
|
||||||
permissions='755',
|
permissions='755',
|
||||||
owner='ofm',
|
owner='ofm',
|
||||||
@@ -73,7 +73,7 @@ def main(hostname, user, port, tile_creator, http_host):
|
|||||||
port=port,
|
port=port,
|
||||||
)
|
)
|
||||||
|
|
||||||
prepare_shared(c)
|
# prepare_shared(c)
|
||||||
|
|
||||||
if tile_creator:
|
if tile_creator:
|
||||||
prepare_tile_creator(c)
|
prepare_tile_creator(c)
|
||||||
|
|||||||
@@ -3,4 +3,4 @@ from pathlib import Path
|
|||||||
|
|
||||||
base = Path(__file__).parent.parent
|
base = Path(__file__).parent.parent
|
||||||
config = base / 'config'
|
config = base / 'config'
|
||||||
scripts = base / 'config'
|
scripts = base / 'scripts'
|
||||||
|
|||||||
@@ -18,6 +18,6 @@ def install_planetiler(c):
|
|||||||
f'-O {PLANETILER_PATH}',
|
f'-O {PLANETILER_PATH}',
|
||||||
)
|
)
|
||||||
|
|
||||||
c.sudo(f'java -jar {PLANETILER_PATH} --help')
|
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/planetiler')
|
||||||
|
|||||||
Reference in New Issue
Block a user