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

Fixes for running demo.sh and pivio.sh via piping them into /bin/sh #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jbretsch
Copy link
Contributor

Starting the demo with

curl https://raw.githubusercontent.com/pivio/pivio-boot/master/demo.sh | /bin/sh

as described at https://pivio.github.io still does not work out-of-the-box.

#7 failed to fix all issues.

There are still two issues:

  1. The read after the "You seem like to run docker mac beta" banner is effectively skipped.
  2. The Gradle process does not exit after having built pivio-web causing the setup scripts to hang indefinitely.

The changes in this merge request deal with both of these issues. See the comments there for more details.

(The described problems can only be observed if the respective script is piped to the shell. The script runs as intended if it is instead first saved locally and then run via e.g. ./demo.sh.)

There were two issues:
  1. The `read` after the "You seem like to run docker mac beta"
     banner was effectively skipped.
  2. The Gradle process did not exit after having built pivio-web
     causing the setup scripts to hang indefinitely.
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.

None yet

1 participant