weitzner / rifdock-recipes

Conda recipes for rifdock.
Apache License 2.0
5 stars 0 forks source link

What is the Github token file and conda channel path? #2

Closed mchaker closed 2 years ago

mchaker commented 2 years ago

Hi Brian, nice to meet you!

Looking at the README, I see a reference to a "github token file" but am a little confused. 😅

What is the "GITHUB TOKEN FILE"? How can I make one? Why is it necessary?

Thanks! :)

mchaker commented 2 years ago

Update: In reading the code, I see it's used to configure git when building the docker image. I'll update the README.

(also please correct me if I'm wrong about the purpose of the token file!)

weitzner commented 2 years ago

The Rosetta repository is private, so you need to authenticate to GitHub to be able to access it. The GitHub token file is just a text file with an API access token in it that can be used to gain access to the Rosetta repo and clone the appropriate version. Hope this helps!

mchaker commented 2 years ago

@weitzner Thank you! Quick followup: what's the "CONDA CHANNEL PATH"?

weitzner commented 2 years ago

That's the directory where you'll dump the conda build artifacts - it basically allows you to build the rosetta library and rif completely separately, install the packages in new environments while also creating a container with the tools installed.

mchaker commented 2 years ago

I see, is that directory assumed to be empty before the build process in the README? (and thus, the build process would populate the directory?)

Or, should the CONDA CHANNEL PATH directory contain something specific before starting the build process in the README?

weitzner commented 2 years ago

It can be empty or an already-initialized conda channel dir.

mchaker commented 2 years ago

Ok, thanks! I'll update the docs with some notes.