-
Notifications
You must be signed in to change notification settings - Fork 22
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
improve installation process #25
Comments
Interestingly I just spent today doing exactly that.
Attached is the install script i ended up using. There are a few stray
/usr/local s in the hnn src i can put up a PR tomorrow if its desired.
…-Luke
On Wed, Dec 19, 2018, 4:37 PM Mainak Jas ***@***.*** wrote:
@samnemo <https://github.com/samnemo> I started trying to play around
with hnn but I hit a roadblock.
It seems that the installation process
<https://github.com/jonescompneurolab/hnn/blob/master/installer/ubuntu/installer.sh>
requires one to have sudo rights. This is a no go for many people working
in labs since they do not necessarily have sudo rights. Typically, in the
python world, we use the anaconda package which is added to the path. Then
everything else can be done without sudo.
Are there any libraries that *really* need sudo? Otherwise, I would
recommend, replacing this with non-sudo options. I'm going to attempt an
install without sudo, so I can make a pull request for this if you agree.
Also, it would be good to have some developer documentation -- such as a
CONTRIBUTING.md (that github recommends) so those wanting to edit the
code can understand how to get into it! Happy to help with it
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#25>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFU7neXpdGTt4G188PXr5jdez7Uz3Cd0ks5u6rGCgaJpZM4ZbEIb>
.
|
Wow, that would be great! I don't see the attached script. Could you share it via a gist or something? Thanks! |
Hi Mainak & Luke, Thanks for your suggestions! Sounds good to go ahead with the adjustments as PRs or changes to a development branch. Sam |
Mainak, Note this doesn't deal with the system dependencies. Only the Python and things that need building. https://drive.google.com/file/d/0B4FnwYbkdwdlWnk2MVNoT0lzeWNGNWNSREhVMGFiOW5JNmtv/view?usp=drivesdk |
Power of open science :) Thanks Luke! So far I am making good progress, and I managed to install
And then I stopped before $ python3 ./hnn.py ./hnn.cfg Just writing it all down while it's still in my head. @bloyl are you going to make the PR or should I make it? Either way, one of us can test it while the other makes the PR. |
@ramcdougal - may want to take note of what Mainak & Luke are working on |
Closing this with our completion of new Docker-based installation instructions on the HNN website: The original points raised about sudo rights during installation is addressed in two ways:
|
@samnemo I started trying to play around with hnn but I hit a roadblock.
It seems that the installation process requires one to have sudo rights. This is a no go for many people working in labs since they do not necessarily have sudo rights. Typically, in the python world, we use the anaconda package which is added to the path. Then everything else can be done without sudo.
Are there any libraries that really need sudo? Otherwise, I would recommend, replacing this with non-sudo options. I'm going to attempt an install without sudo, so I can make a pull request for this if you agree.
Also, it would be good to have some developer documentation -- such as a
CONTRIBUTING.md
(that github recommends) so those wanting to edit the code can understand how to get into it! Happy to help with itThe text was updated successfully, but these errors were encountered: