Skip to content

Commit

Permalink
Merge pull request #203 from oceanprotocol/feature/env-option-no-deploy
Browse files Browse the repository at this point in the history
Feature/env option no deploy
  • Loading branch information
kremalicious committed Dec 5, 2019
2 parents f6ac9f5 + 33b2a86 commit 6f46bf2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
11 changes: 8 additions & 3 deletions start_ocean.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
#################################################
Expand Down

0 comments on commit 6f46bf2

Please sign in to comment.