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 GUI install instructions #14

Merged
merged 3 commits into from
Jul 3, 2020
Merged

Conversation

AlecVercruysse
Copy link
Contributor

  • fix 404 errors relating to a moved SCRIPTS/ folder
  • remove --user flag from pip install instructions since a venv should be activated
  • fix typo in script chmod command
  • update WORKING_DIR variable in scripts

- fix 404 errors relating to a moved SCRIPTS/ folder
- remove --user flag from pip install instructions since a venv should be activated
- fix typo in script chmod command
- this pointed to a hard-coded link that was now broken.
- this line from s/o: https://stackoverflow.com/questions/59895/how-to-get-the-source-directory-of-a-bash-script-from-within-the-script-itself worked for my limited testing.-
@AlecVercruysse AlecVercruysse changed the title Fix #13 Update GUI install instructions Jul 1, 2020
@AlecVercruysse
Copy link
Contributor Author

fixes #13

Copy link
Contributor

@renerichter renerichter left a comment

Choose a reason for hiding this comment

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

Minor question regarding plausibility.

WORKING_DIR="${USER_HOME_DIR}/UC2/SCRIPTS"
WORKING_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
Copy link
Contributor

Choose a reason for hiding this comment

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

you assume that script will be run from within the containing folder. That not necessarily is typically the case... or?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. We can avoid any issues with the user using a different directory structure/running from a different dir by just evaluating pwd.

WORKING_DIR="${USER_HOME_DIR}/UC2/SCRIPTS"
WORKING_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. We can avoid any issues with the user using a different directory structure/running from a different dir by just evaluating pwd.

install into active instead of prenamed directory

Co-authored-by: Alec <[email protected]>
@renerichter renerichter merged commit a29288f into openUC2:master Jul 3, 2020
@renerichter
Copy link
Contributor

renerichter commented Jul 16, 2020 via email

@AlecVercruysse
Copy link
Contributor Author

I get a 442 server error when I try to resubmit my PR, even though github says the branches can merge automatically. I've filed a support ticket for now. If they say it is not possible due to the forced changes in history, I will just quickly rewrite them.

@renerichter
Copy link
Contributor

renerichter commented Jul 18, 2020 via email

@beniroquai
Copy link
Contributor

beniroquai commented Jul 19, 2020 via email

@renerichter
Copy link
Contributor

renerichter commented Jul 20, 2020 via email

@AlecVercruysse
Copy link
Contributor Author

No comments on the ticket, but I tried again just for a last ditch attempt and it worked! #15.

@renerichter
Copy link
Contributor

renerichter commented Jul 21, 2020 via email

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