refactor: renaming npm migrate script

This commit is contained in:
nugaon 2021-05-05 14:21:20 +02:00
parent 1719ebda94
commit 6bbe27743a
3 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ $ ./scripts/blockchain.sh
After that, it's possible to deploy Swarm smart contracts After that, it's possible to deploy Swarm smart contracts
```sh ```sh
$ npm run migrate:chequebook $ npm run migrate:contracts
``` ```
Before you start the Bee nodes with the deployed Swap Factory, you have to fund your overlay addresses of your Bee nodes for the successful start. Before you start the Bee nodes with the deployed Swap Factory, you have to fund your overlay addresses of your Bee nodes for the successful start.

View File

@ -3,8 +3,8 @@
"version": "0.0.1", "version": "0.0.1",
"description": "Setup Swarm Test Blockchain and arbitrary numbered Bee nodes", "description": "Setup Swarm Test Blockchain and arbitrary numbered Bee nodes",
"scripts": { "scripts": {
"compile:chequebook": "truffle compile", "compile:contracts": "truffle compile",
"migrate:chequebook": "truffle migrate", "migrate:contracts": "truffle migrate",
"supply": "truffle exec src/supply.js", "supply": "truffle exec src/supply.js",
"build:env": "./scripts/build-environment.sh", "build:env": "./scripts/build-environment.sh",
"publish:env": "./scripts/publish-environment.sh", "publish:env": "./scripts/publish-environment.sh",

View File

@ -4,7 +4,7 @@ MY_PATH=$( cd "$MY_PATH" && pwd )
"$MY_PATH/network.sh" "$MY_PATH/network.sh"
"$MY_PATH/blockchain.sh" "$MY_PATH/blockchain.sh"
npm run migrate:chequebook npm run migrate:contracts
npm run supply npm run supply
"$MY_PATH/blockchain-docker-build.sh" "$MY_PATH/blockchain-docker-build.sh"
"$MY_PATH/bee-docker-build.sh" "$MY_PATH/bee-docker-build.sh"