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

When checking if the installation worked, describe how to open a terminal #291

Open
Seanny123 opened this issue Jan 25, 2016 · 22 comments
Open
Labels
help wanted Looking for Contributors

Comments

@Seanny123
Copy link

The instructions say to run the python scripts from a shell, but there's no indication of how to open it on different operating systems.

I suggest:

  • For Mac/Linux, tell them to open the program called "Terminal"
  • For Windows users, tell them to open a program called "Git Bash"
@wking
Copy link
Contributor

wking commented Jan 25, 2016

On Mon, Jan 25, 2016 at 08:52:20AM -0800, Sean Aubin wrote:

  • For Mac/Linux, tell them to open the program called "Terminal"

Gentoo doesn't come with a program called “Terminal” :p. To keep a
suggestion like this maintainable, I recommend we list options for
specific distributions. Then when Fedora (or whoever) changes the
name/location we can fix their entry.

I think “how to open a terminal” is generic enough SWC information
that I'd consider putting it in its own repository and linking from
this repo to https://swcarpentry.github.io/open-a-terminal/ or some
such.

@iglpdc
Copy link
Contributor

iglpdc commented Jan 25, 2016

I think “how to open a terminal” is generic enough SWC information that I'd consider putting it in its
own repository and linking from this repo to https://swcarpentry.github.io/open-a-terminal/ or some
such.

That's a great idea!

@lexnederbragt
Copy link
Contributor

I was going to file an issue on exactly the same problem - but luckily don't have too - as I just got a learners email saying:

Thank you for the information! I have downloaded everything, and it seems to have worked out ok. But unfortunately, since I have zero knowledge of programming, I don’t know how to run the checking scripts - specifically, I don’t understand «run it from the shell».

To which I replied

Hehe, «run it from the shell» is exactly what we are going to teach you :-)

@wking
Copy link
Contributor

wking commented Jan 28, 2016

On Thu, Jan 28, 2016 at 04:20:49AM -0800, Lex Nederbragt wrote:

… specifically, I don’t understand «run it from the shell».

To which I replied

Hehe, «run it from the shell» is exactly what we are going to
teach you :-)

Yeah, there's certainly a bit of a chicken/egg problem here. But I
expect there are learners who:

a. already know how to get to a terminal,
b. could figure it out using a website with screenshots, and
c. will need a helper looking over their shoulder and guiding their
path (ideally in pre-workshop office-hours).

I don't think the presence of (a) and (c) means that we shouldn't have
a site with docs to help (b), but I don't have a good handle on the
sizes of the groups. Maybe food for our workshop assessment (I think
I remember shell questions the last time I saw that survey?),
distinguishing between (b) and (c) in a self-reported pre-test survey
would be difficult. Maybe we want a pre-workshop, post-setup survey
to ask how things went?

@lexnederbragt
Copy link
Contributor

Is it at all possible to turn these scripts into some executable, i.e. 'download this file and double click it'? I am no expert, so there may be lot's of cross-platform or security issues that make this impractical...

@JenniferShelton
Copy link

If we leave this as instructions to run the programs from the terminal we should suggest that they may need to try the command using a path that starts with :
Downloads/

Many people are don't know to navigate to the directory with the scripts.

@wking
Copy link
Contributor

wking commented Jan 29, 2016

On Fri, Jan 29, 2016 at 05:35:00AM -0800, Lex Nederbragt wrote:

Is it at all possible to turn these scripts into some executable…

Sort of, see [1,2]. This would be more feasible with
wking/swc-setup-installation-test#9, since then you wouldn't have to
rebuild the checker after adjusting it to match your workshop. But a
number of the checks are for “does $COMMAND resolve in your terminal”,
and for systems like Windows where you are more likely to have a
number of different shells with a number of different PATHs, it would
be hard for an executable installer to figure out what PATH it should
use for testing (e.g. should it look for and parse ~/.bash_profile
3?). So while you might be able to put in a lot of work and get
something that mostly works, I think folks who really struggle getting
a terminal open should just wait until the workshop / pre-workshop
help sessions.

@JenniferShelton
Copy link

Then what if we describe it that way?

"If you are already comfortable with the command line or would like to try your hand at it before the workshop, run this command from the command line...

Otherwise SWC Instructors can help you run these checks at the start of the workshop."

@wking
Copy link
Contributor

wking commented Jan 29, 2016

On Fri, Jan 29, 2016 at 01:00:09PM -0800, Jennifer M Shelton wrote:

Then what if we describe it that way?

"If you are already comfortable with the command line or would like
to try your hand at it before the workshop, run this command from
the command line...

Otherwise SWC Instructors can help you run these checks at the start
of the workshop."

That misses group (b) from 1, but I agree that we want wording
pointing out that it's ok to just show up at the workshop without
running the checks. In the absence of
https://swcarpentry.github.io/open-a-terminal/ or some such, your
wording makes sense. Maybe file a PR against setup/index.md mentioning
that folks are welcome to skip the checks if they have trouble running
them? Then we can add a link to a terminal-opening tutorial if/when
such a tutorial materializes.

I just don't think we should be embedding the terminal-opening
tutorial in this repository.

@iglpdc
Copy link
Contributor

iglpdc commented Jan 30, 2016

In the absence of https://swcarpentry.github.io/open-a-terminal/ or some such, your wording makes sense.

I really liked @wking's idea of having a lesson on just how to open a terminal. So what about something like this: https://github.com/iglpdc/open-a-terminal

@lexnederbragt
Copy link
Contributor

Nice... But opening a terminal fixes the first part. Learners then have to fetch the script and execute it. And if their python installation didn't work, they can't even do that... So I think I agree more to a wording in setup/index.md as @wking suggested.

@karinlag
Copy link
Member

On 08.02.2016 09:31, Lex Nederbragt wrote:

Nice... But opening a terminal fixes the first part. Learners then have
to fetch the script and execute it. And if their python installation
didn't work, they can't even do that... So I think I agree more to a
wording in setup/index.md as @wking https://github.com/wking suggested.

On this note: I had set up this script for my last workshop, without
thinking of the fact that it was R focused. Thus, many of my
participants couldn't get it to run because they didn't have python
installed.

Karin

@wking
Copy link
Contributor

wking commented Feb 13, 2016

On Sat, Feb 13, 2016 at 08:46:08AM -0800, karinlag wrote:

On this note: I had set up this script for my last workshop, without
thinking of the fact that it was R focused. Thus, many of my
participants couldn't get it to run because they didn't have python
installed.

Previous discussion on that point starting here 1.

@gvwilson
Copy link
Contributor

Anyone want to PR this?

@gvwilson gvwilson self-assigned this Jul 31, 2016
@iglpdc
Copy link
Contributor

iglpdc commented Aug 1, 2016

I really liked @wking's idea of having a lesson on just how to open a terminal. So what about something like this: https://github.com/iglpdc/open-a-terminal

Yes, I did: see this comment above. The thing never took off, but I think it'd be great to have something like this and use it as a reference any time we need to show how to open terminal.

I think it'd be better in a separate repo rather than included here, but put everything together is an option too.

@gvwilson
Copy link
Contributor

gvwilson commented Sep 7, 2016

@iglpdc could you please mail the maintainers' list and ask people to comment on this issue so that we can come to a conclusion?

@gvwilson gvwilson removed their assignment Sep 7, 2016
@rgaiacs
Copy link
Contributor

rgaiacs commented Sep 8, 2016

+1 to have it move under https://github.com/swcarpentry/

@rgaiacs
Copy link
Contributor

rgaiacs commented Feb 4, 2017

MOTION: Adopt https://github.com/iglpdc/open-a-terminal as official Software Carpentry lesson.

@lexnederbragt
Copy link
Contributor

Counter-motion: this lesson (once complete) becomes part of the unix shell lesson. For example, as part of http://swcarpentry.github.io/shell-novice/setup/.

@wking
Copy link
Contributor

wking commented Feb 6, 2017 via email

@lexnederbragt
Copy link
Contributor

@wking good points. I agree that having a separate place for this information in the SWC web-infrastructure would be a good thing. But would a full-fledged lesson just for explaining how to open a terminal be the right solution?

@wking
Copy link
Contributor

wking commented Feb 7, 2017 via email

@fmichonneau fmichonneau added the help wanted Looking for Contributors label Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Looking for Contributors
Projects
None yet
Development

No branches or pull requests

9 participants