1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-12-02 05:57:21 +01:00

update option is now explicit for spree

This commit is contained in:
MarcusJones 2019-12-05 10:43:07 +01:00
parent 1685d13fc1
commit 33b2a86993
2 changed files with 9 additions and 5 deletions

View File

@ -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. | | `--mongodb` | Start up Ocean with MongoDB as DB engine for Aquarius instead of Elasticsearch. |
| `--local-ganache-node` | Runs a local `ganache` node. | | `--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-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-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-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 | | `--local-pacific-node` | Runs a local parity node and connects the node to the `pacific` network (official Ocean network |

View File

@ -43,7 +43,6 @@ export OCEAN_HOME="${HOME}/.ocean"
# keeper options # keeper options
export KEEPER_OWNER_ROLE_ADDRESS="${KEEPER_OWNER_ROLE_ADDRESS}" export KEEPER_OWNER_ROLE_ADDRESS="${KEEPER_OWNER_ROLE_ADDRESS}"
export KEEPER_DEPLOY_CONTRACTS="true" export KEEPER_DEPLOY_CONTRACTS="true"
echo asdfasdfasdf
export KEEPER_ARTIFACTS_FOLDER="${OCEAN_HOME}/keeper-contracts/artifacts" export KEEPER_ARTIFACTS_FOLDER="${OCEAN_HOME}/keeper-contracts/artifacts"
# Specify which ethereum client to run or connect to: development, spree or nile # Specify which ethereum client to run or connect to: development, spree or nile
export KEEPER_NETWORK_NAME="spree" export KEEPER_NETWORK_NAME="spree"
@ -235,10 +234,6 @@ DOCKER_COMPOSE_EXTRA_OPTS="${DOCKER_COMPOSE_EXTRA_OPTS:-}"
while :; do while :; do
case $1 in case $1 in
--no-deployment)
export KEEPER_DEPLOY_CONTRACTS="false"
printf $COLOR_Y'Keeping existing contracts...\n\n'$COLOR_RESET
;;
--exposeip) --exposeip)
;; ;;
################################################# #################################################
@ -395,6 +390,14 @@ while :; do
export KEEPER_NETWORK_NAME="spree" export KEEPER_NETWORK_NAME="spree"
printf $COLOR_Y'Starting with local Spree node...\n\n'$COLOR_RESET 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 # Cleaning switches
################################################# #################################################