Skip to content

Commit

Permalink
Merge pull request #302 from EYBlockchain/swati/restartFix
Browse files Browse the repository at this point in the history
chore: added the fix
  • Loading branch information
SwatiEY authored Jul 2, 2024
2 parents ae181cc + 2abd62a commit 55beffa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/boilerplate/common/bin/startup
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ docker-compose -f docker-compose.zapp.yml up -d timber
sleep 10

docker-compose -f docker-compose.zapp.yml up -d zapp

echo "All services have been started."
echo "----------------------------------------------------"
echo " Run these commands in the terminal to get the logs"
echo "docker compose -f docker-compose.zapp-double.yml logs -f -n 1000 zapp zokrates timber"
echo "-----------------------------------------------------"
2 changes: 1 addition & 1 deletion src/boilerplate/common/boilerplate-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"test": "./bin/startup && docker-compose -f docker-compose.zapp.yml run zapp npx mocha --exit --require @babel/register 'orchestration/test.mjs'",
"retest": "docker-compose -f docker-compose.zapp.yml run zapp npx mocha --exit --require @babel/register 'orchestration/test.mjs'",
"start": "./bin/startup",
"restart": "docker rm apiservice && docker-compose -f docker-compose.zapp.yml run --name apiservice -p 3000:3000 zapp node orchestration/api.mjs",
"restart": "docker-compose -f docker-compose.zapp.yml restart && docker compose -f docker-compose.zapp-double.yml logs -f -n 1000 zapp zokrates timber",
"apitest": "./bin/setup && ./bin/startup && docker-compose -f docker-compose.zapp.yml run --name apiservice -d -p 3000:3000 zapp node orchestration/api.mjs"
},
"keywords": [
Expand Down

0 comments on commit 55beffa

Please sign in to comment.