forked from MapComplete/MapComplete
		
	Fix: add nvm path
This commit is contained in:
		
							parent
							
								
									977c6ff9fb
								
							
						
					
					
						commit
						7d83cb1a7f
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -2,6 +2,8 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Full database update. Downloads the latest from planet.osm.org, build update script, setup and seed it
 | 
					# Full database update. Downloads the latest from planet.osm.org, build update script, setup and seed it
 | 
				
			||||||
# Meant to be run with 'nohup'
 | 
					# 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
 | 
					nvm use 20.12.2
 | 
				
			||||||
npm run init # contains a 'npm run generate, which builds the layers'
 | 
					npm run init # contains a 'npm run generate, which builds the layers'
 | 
				
			||||||
npm run generate:buildDbScript
 | 
					npm run generate:buildDbScript
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue