This release contains a db patch.
git checkout 1.1.6
rm -rf node_modules
npm install
node dist/dbPatches/tokenData.js
cd rsk-explorer-api
chmod +x ./dist/updates/backup-collections.sh
./dist/updates/backup-collections.sh -h
Example:
./dist/updates/backup-collections.sh -d /tmp/explorer-back -n newExplorerDB
Note: backup-collections.sh gets the DB information from the config.json file.
Follow the instructions provided by backup-collections.sh Update the db.dbName field in config.json to use the new DB.
cd rsk-explorer-api
rm -rf node_modules
npm install
- start blocks services
- start api