forked from MapComplete/MapComplete
Scripts: attempt to get script working
This commit is contained in:
parent
ac64cc82b0
commit
17d7c82d90
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ jobs:
|
|||
|
||||
- name: Init all dependencies and layers
|
||||
shell: bash
|
||||
run: npm run init
|
||||
run: npm ci && npm run init
|
||||
|
||||
- name: Create export script
|
||||
shell: bash
|
||||
|
@ -35,7 +35,7 @@ jobs:
|
|||
DATE=$(echo $TIMESTAMP | sed "s/T.*//")
|
||||
echo $DATE
|
||||
# Create a new database in postgres
|
||||
vite-node scripts/osm2pgsql/createNewDatabase.ts -- $DATE
|
||||
npm run create:database -- -- $DATE
|
||||
echo "Seeding database '$DATE'"
|
||||
osm2pgsql -O flex -S build_db.lua -s --flat-nodes=import-help-file -d postgresql://user:password@localhost:5444/osm-poi.${DATE} /data/planet-latest.osm.pbf
|
||||
npm run delete:database:old
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue