Fix update script

This commit is contained in:
Pieter Vander Vennet 2024-09-10 14:26:44 +02:00
parent 20b0fc53c2
commit aea08f8f04

View file

@ -21,7 +21,7 @@ npm run create:database -- -- ${DATE/T.*//}
cd ~/data || exit
rm seeddb.log
osm2pgsql -O flex -S build_db.lua -s --flat-nodes=import-help-file -d postgresql://user:password@localhost:5444/osm-poi planet-latest.osm.pbf >> seeddb.log
osm2pgsql -O flex -S build_db.lua -s --flat-nodes=import-help-file -d postgresql://user:password@localhost:5444/osm-poi.${DATE} planet-latest.osm.pbf >> seeddb.log
# To see the progress
# tail -f seeddb.log