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

Install on your own server install script doesn't work when copied #102

Closed
choldgraf opened this issue Aug 2, 2018 · 3 comments · Fixed by #103
Closed

Install on your own server install script doesn't work when copied #102

choldgraf opened this issue Aug 2, 2018 · 3 comments · Fixed by #103

Comments

@choldgraf
Copy link
Member

choldgraf commented Aug 2, 2018

I believe that the installation instructions won't work on the "custom server" page because if you copy/paste it into a terminal then the first line is treated as a comment and nothing is run.

I think instead, we should tell people something like:

  1. Create a file called install.sh

    nano install.sh

  2. Paste in the following lines

    #!/bin/bash
    curl https://raw.githubusercontent.com/jupyterhub/the-littlest-jupyterhub/master/bootstrap/bootstrap.py | sudo python3 - --admin <admin-user-name>
    
  3. Modify <admin-user-name> to be your user name

  4. Exit and save: ctrl+X, "yes", enter

  5. Run the install script:

    sh install.sh

what do you think @yuvipanda ?

@yuvipanda
Copy link
Collaborator

Nope, just get rid of the #!/bin/bash line. No text editors :)

@betatim
Copy link
Member

betatim commented Aug 3, 2018

One thing I noticed today is if you run it as is and get asked for your sudo password you end up with the prompt and curl output somehow on top of each other. Worth a call out to tell people "run curl first, then pipe it in?" Or does someone curl well enough to know of commandline options to turn of curl output?

@yuvipanda
Copy link
Collaborator

@betatim can you show me output / screenshot of what you are seeing? That doesn't happen for me.

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 a pull request may close this issue.

3 participants