Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the run_demo script to add background mode and usage info #423

Merged
merged 3 commits into from
Mar 16, 2020
Merged

Conversation

swcurran
Copy link
Contributor

No description provided.

demo/run_demo Outdated
@@ -46,6 +50,38 @@ do
echo "For example, to create the directory and then set the permissions use: 'mkdir ../logs; chmod uga+rws ../logs'"
exit 1
fi
continue
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding continue here means that the argument gets stripped off, which I don't think is intended.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - wasn't sure about that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed that --timing works.

demo/run_demo Outdated
--bg)
if [[ "${AGENT}" == "alice" ]] || [[ "${AGENT}" == "faber" ]] || [[ "${AGENT}" == "acme" ]]; then
DOCKER_OPTS="-d"
echo -e "\nRunning in ${AGENT} in the background. Note that you cannot use the comand line console in this mode."
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*command :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@codecov-io
Copy link

Codecov Report

Merging #423 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #423   +/-   ##
======================================
  Coverage    88.1%   88.1%           
======================================
  Files         245     245           
  Lines       11993   11993           
======================================
  Hits        10566   10566           
  Misses       1427    1427

@andrewwhitehead andrewwhitehead merged commit 09faeb7 into openwallet-foundation:master Mar 16, 2020
@swcurran swcurran deleted the run-demo-bg branch March 16, 2020 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants