mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-22 17:50:13 +01:00
Replace unnecessary files with arguments.
This commit is contained in:
parent
020ae2dfd5
commit
78e66c9292
15
start_ocean.sh
Normal file → Executable file
15
start_ocean.sh
Normal file → Executable file
@ -5,9 +5,22 @@ export OCEAN_VERSION=latest
|
|||||||
export DEPLOY_CONTRACTS="true"
|
export DEPLOY_CONTRACTS="true"
|
||||||
# Ganache specific option, these two options have no effect when not running ganache-cli
|
# Ganache specific option, these two options have no effect when not running ganache-cli
|
||||||
export GANACHE_DATABASE_PATH="."
|
export GANACHE_DATABASE_PATH="."
|
||||||
export REUSE_DATABASE="true"
|
export REUSE_DATABASE="false"
|
||||||
# Specify which ethereum client to run or connect to: kovan, ganache, or ocean_poa_net_local
|
# Specify which ethereum client to run or connect to: kovan, ganache, or ocean_poa_net_local
|
||||||
export KEEPER_NETWORK_NAME="ganache"
|
export KEEPER_NETWORK_NAME="ganache"
|
||||||
export ARTIFACTS_FOLDER=~/.ocean/keeper-contracts/artifacts
|
export ARTIFACTS_FOLDER=~/.ocean/keeper-contracts/artifacts
|
||||||
|
|
||||||
|
if [ "$1" == "--no-pleuston" ]
|
||||||
|
then
|
||||||
|
export REUSE_DATABASE="true"
|
||||||
|
docker-compose -f docker-compose-no-pleuston.yml up
|
||||||
|
|
||||||
|
elif [ "$1" == "--local-parity-node" ]
|
||||||
|
then
|
||||||
|
export KEEPER_NETWORK_NAME="ocean_poa_net_local"
|
||||||
|
docker-compose -f docker-compose-local-parity-node.yml up
|
||||||
|
|
||||||
|
else
|
||||||
docker-compose up
|
docker-compose up
|
||||||
|
|
||||||
|
fi
|
@ -1,13 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
export OCEAN_VERSION=latest
|
|
||||||
# Must be set to true for the first run, change it to "false" to avoid migrating the smart contracts on each run.
|
|
||||||
export DEPLOY_CONTRACTS="true"
|
|
||||||
# Ganache specific option, these two options have no effect when not running ganache-cli
|
|
||||||
export GANACHE_DATABASE_PATH="."
|
|
||||||
export REUSE_DATABASE="true"
|
|
||||||
# Specify which ethereum client to run or connect to: kovan, ganache, or ocean_poa_net_local
|
|
||||||
export KEEPER_NETWORK_NAME="ocean_poa_net_local"
|
|
||||||
export ARTIFACTS_FOLDER=~/.ocean/keeper-contracts/artifacts
|
|
||||||
|
|
||||||
docker-compose -f docker-compose-local-parity-node.yml up
|
|
@ -1,13 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
export OCEAN_VERSION=latest
|
|
||||||
# Must be set to true for the first run, change it to "false" to avoid migrating the smart contracts on each run.
|
|
||||||
export DEPLOY_CONTRACTS="true"
|
|
||||||
# Ganache specific option, these two options have no effect when not running ganache-cli
|
|
||||||
export GANACHE_DATABASE_PATH="."
|
|
||||||
export REUSE_DATABASE="true"
|
|
||||||
# Specify which ethereum client to run or connect to: kovan, ganache, or ocean_poa_net_local
|
|
||||||
export KEEPER_NETWORK_NAME="ganache"
|
|
||||||
export ARTIFACTS_FOLDER=~/.ocean/keeper-contracts/artifacts
|
|
||||||
|
|
||||||
docker-compose -f docker-compose-no-pleuston.yml up
|
|
Loading…
Reference in New Issue
Block a user