mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
11 lines
327 B
Bash
11 lines
327 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ "${LOCAL_CONTRACTS}" = "true" ]; then
|
||
|
echo "Waiting for contracts to be generated..."
|
||
|
while [ ! -f "/app/frontend/node_modules/@oceanprotocol/keeper-contracts/artifacts/ready" ]; do
|
||
|
sleep 2
|
||
|
done
|
||
|
fi
|
||
|
echo "Starting Commons..."
|
||
|
serve -l tcp://"${LISTEN_ADDRESS}":"${LISTEN_PORT}" -s /app/frontend/build/
|