Fix: add nvm path

This commit is contained in:
Pieter Vander Vennet 2024-10-12 13:03:39 +02:00
parent 977c6ff9fb
commit 7d83cb1a7f

View file

@ -2,6 +2,8 @@
# Full database update. Downloads the latest from planet.osm.org, build update script, setup and seed it
# Meant to be run with 'nohup'
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm use 20.12.2
npm run init # contains a 'npm run generate, which builds the layers'
npm run generate:buildDbScript