Add production script to update local copy of assets registry JSON

This commit is contained in:
wiz 2020-09-24 18:42:13 +09:00
parent 8dddd6e25e
commit aa3559e634
No known key found for this signature in database
GPG Key ID: A394E332255A6173
2 changed files with 7 additions and 0 deletions

0
production/mempool-restart-all Normal file → Executable file
View File

View 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