diff --git a/README.md b/README.md index 28ce767..5501976 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,7 @@ will use the default Docker image tags for Aquarius, Keeper Contracts and Common | `--mongodb` | Start up Ocean with MongoDB as DB engine for Aquarius instead of Elasticsearch. | | `--local-ganache-node` | Runs a local `ganache` node. | | `--local-spree-node` | Runs a node of the local `spree` network. This is the default. | +| `--local-spree-no-deploy` | Runs a node of the local `spree` network, without contract deployment. | | `--local-duero-node` | Runs a local parity node and connects the node to the `duero` network. | | `--local-nile-node` | Runs a local parity node and connects the node to the `nile` network. | | `--local-pacific-node` | Runs a local parity node and connects the node to the `pacific` network (official Ocean network | diff --git a/start_ocean.sh b/start_ocean.sh index 0dda182..f3a85ea 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -32,7 +32,6 @@ export KEEPER_VERSION=${KEEPER_VERSION:-v0.12.7} export FAUCET_VERSION=${FAUCET_VERSION:-v0.3.2} export COMMONS_SERVER_VERSION=${COMMONS_SERVER_VERSION:-v1.3.1} export COMMONS_CLIENT_VERSION=${COMMONS_CLIENT_VERSION:-v1.3.1} - export PARITY_IMAGE="parity/parity:v2.5.7-stable" export PROJECT_NAME="ocean" @@ -348,7 +347,6 @@ while :; do COMPOSE_FILES="${COMPOSE_FILES/ -f ${COMPOSE_DIR}\/secret_store_signing_node.yml/}" export KEEPER_MNEMONIC='' export KEEPER_NETWORK_NAME="development" - export KEEPER_DEPLOY_CONTRACTS="true" printf $COLOR_Y'Starting with local Ganache node...\n\n'$COLOR_RESET printf $COLOR_Y'Starting without Secret Store...\n\n'$COLOR_RESET printf $COLOR_Y'Starting without Secret Store signing node...\n\n'$COLOR_RESET @@ -390,9 +388,16 @@ while :; do # use this seed only on spree! export KEEPER_MNEMONIC="taxi music thumb unique chat sand crew more leg another off lamp" export KEEPER_NETWORK_NAME="spree" - export KEEPER_DEPLOY_CONTRACTS="true" printf $COLOR_Y'Starting with local Spree node...\n\n'$COLOR_RESET ;; + --local-spree-no-deploy) + export NODE_COMPOSE_FILE="${COMPOSE_DIR}/nodes/spree_node.yml" + # use this seed only on spree! + export KEEPER_MNEMONIC="taxi music thumb unique chat sand crew more leg another off lamp" + export KEEPER_NETWORK_NAME="spree" + export KEEPER_DEPLOY_CONTRACTS="false" + printf $COLOR_Y'Starting with local Spree node, and keeping existing contracts (no deployment)...\n\n'$COLOR_RESET + ;; ################################################# # Cleaning switches #################################################