1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-11-26 12:28:59 +01:00

Merge pull request #368 from oceanprotocol/issue-367-remove-sudo

Removing sudo command
This commit is contained in:
Jamie Hewitt 2023-05-15 11:02:05 +03:00 committed by GitHub
commit 5a3a17e753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -118,17 +118,6 @@ fi
#export OPERATOR_SERVICE_URL=http://127.0.0.1:8050 #export OPERATOR_SERVICE_URL=http://127.0.0.1:8050
export OPERATOR_SERVICE_URL=${OPERATOR_SERVICE_URL:-"http://172.15.0.13:31000/"} export OPERATOR_SERVICE_URL=${OPERATOR_SERVICE_URL:-"http://172.15.0.13:31000/"}
# Add aquarius to /etc/hosts
# Workaround mainly for macOS
if [ ${IP} = "localhost" ]; then
if grep -q "aquarius" /etc/hosts; then
echo "aquarius exists"
else
echo "127.0.0.1 aquarius" | sudo tee -a /etc/hosts
fi
fi
# colors # colors
COLOR_R="\033[0;31m" # red COLOR_R="\033[0;31m" # red
COLOR_G="\033[0;32m" # green COLOR_G="\033[0;32m" # green