mirror of
https://github.com/oceanprotocol/barge.git
synced 2024-11-22 09:47:04 +01:00
Replace unnecessary files with arguments.
This commit is contained in:
parent
020ae2dfd5
commit
78e66c9292
17
start_ocean.sh
Normal file → Executable file
17
start_ocean.sh
Normal file → Executable file
@ -5,9 +5,22 @@ export OCEAN_VERSION=latest
|
||||
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"
|
||||
export REUSE_DATABASE="false"
|
||||
# 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 up
|
||||
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
|
||||
|
||||
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