Skip to content

Commit

Permalink
Fix for unary descriptor expected (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrheat authored Oct 1, 2021
1 parent 3900ffd commit 4e10c17
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions contrib/docker/dapp/dapp-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ export METEOR_SETTINGS=$(cat /home/doichain/data/dapp/settings.json)
export PORT=$HTTP_PORT
export ROOT_URL=http://$DAPP_HOST:$DAPP_PORT

_BUILD=$1
if [ $_BUILD = 'build' ]; then
if [[ $1 = 'build' ]]; then
git -C /home/doichain/dapp pull origin master
echo "starting creating bundle $DAPP_HOST:$DAPP_PORT"
rm -rf /home/doichain/dapp/bundle
Expand All @@ -26,5 +25,5 @@ if [ -e $pidfile ]; then
fi
echo "starting dapp via node bundle"
cd /home/doichain/dapp
nohup node build/bundle/main.js > dapp.log 2>&1 & echo $! > dapp.pid
node build/bundle/main.js
sleep 5

0 comments on commit 4e10c17

Please sign in to comment.