forked from MapComplete/MapComplete
Fixes to update script
This commit is contained in:
parent
2f1b0c0ae2
commit
d214b95a87
1 changed files with 3 additions and 0 deletions
|
|
@ -20,7 +20,10 @@ osm2pgsql -O flex -S build_db.lua -s --flat-nodes=import-help-file -d postgresql
|
||||||
# To see the progress
|
# To see the progress
|
||||||
# tail -f seeddb.log
|
# tail -f seeddb.log
|
||||||
|
|
||||||
|
cd ~/git/MapComplete || exit
|
||||||
npm run delete:database:old
|
npm run delete:database:old
|
||||||
|
nohup npm run server:summary >> summary_server.log &
|
||||||
|
cd - || exit
|
||||||
|
|
||||||
# Restart tileserver
|
# Restart tileserver
|
||||||
export DATABASE_URL=postgresql://user:password@localhost:5444/osm-poi.${DATE}
|
export DATABASE_URL=postgresql://user:password@localhost:5444/osm-poi.${DATE}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue