Add production script to update local copy of assets registry JSON
This commit is contained in:
		
							parent
							
								
									c387f97eb7
								
							
						
					
					
						commit
						2ffa279cfc
					
				
							
								
								
									
										0
									
								
								production/mempool-restart-all
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										0
									
								
								production/mempool-restart-all
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
								
								
									
										7
									
								
								production/mempool-update-assets
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										7
									
								
								production/mempool-update-assets
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
#!/usr/bin/env zsh
 | 
			
		||||
set -e
 | 
			
		||||
 | 
			
		||||
wget -O /mempool/public_html/mainnet/resources/assets.json https://raw.githubusercontent.com/mempool/asset_registry_db/master/index.json
 | 
			
		||||
wget -O /mempool/public_html/mainnet/resources/assets.minimal.json https://raw.githubusercontent.com/mempool/asset_registry_db/master/index.minimal.json
 | 
			
		||||
 | 
			
		||||
exit 0
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user