Skip to content

Commit

Permalink
compose-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
acud committed Nov 5, 2024
1 parent 0095c5c commit 7882b98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
32 changes: 0 additions & 32 deletions activation_service_poc/config.standalone.client2.json

This file was deleted.

4 changes: 2 additions & 2 deletions activation_service_poc/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ cd activation_service_poc
export IMAGE=$(docker images | head -n 2 | tail -n 1 | awk '{print $3}')

TIME=$(date -u -d '2 minutes' "+%Y-%m-%dT%H:%M:%S%:z")
jq ".genesis.\"genesis-time\" |= \"$TIME\"" config.standalone.client.json
jq ".genesis.\"genesis-time\" |= \"$TIME\"" config.standalone.node-service.json
jq ".genesis.\"genesis-time\" |= \"$TIME\"" config.standalone.client.json > config.standalone.client.json
jq ".genesis.\"genesis-time\" |= \"$TIME\"" config.standalone.node-service.json > config.standalone.node-service.json

rm -rf /tmp/space*
docker compose up

0 comments on commit 7882b98

Please sign in to comment.