mapcomplete/scripts/osm2pgsql/update.sh

9 lines
254 B
Bash
Raw Normal View History

2024-03-28 10:37:58 +01:00
#! /bin/bash
2024-03-28 10:43:58 +01:00
npm run init
npm run generate
npm run refresh:layeroverview
2024-03-28 10:37:58 +01:00
npm run generate:buildDbScript
mv build_db.sh ~/data/
transmission-cli https://planet.osm.org/pbf/planet-latest.osm.pbf.torrent -f ./on_data_downloaded.sh &>nohup_transmission.log