-
If you do not have a python instance it is recommended to install Anaconda
-
Download the github respository
-
Install the dependencies using `pip install -r requirements.txt'
-
Set up a [globus] ('https://www.globus.org/globus-connect') account
-
You need to be running [Globus-Personal-Connect] ('https://www.globus.org/globus-connect-personal') on the computer and set up an endpoint.
-
Setup an account on DataFed
-
Setup DataFed
In your terminal run
datafed setup
Enter your username and password
-
Set up a globus account
-
You need to be running globus on the computer and set up an endpoint. This can be done using globus personal connect.
-
Find your globus endpoint ID and type the following command
datafed ep default set <endpoint_name_here>
-
Done!
run in the command line python DataFedLogin.py
and input your username and password when prompted, once "Successfully logged in to Data as {your username}" is printed you are free to upload as many files you want
this can be done by running this in the command line python ibw_to_datafed.py "<full file path>" "<collection id on Datafed>"
as many times for as many files as you would like.
when you are done uploading your files to maintain security please run python DataFedLogout.py
this is to ensure your account does automatically sign in the next time someone tries to upload a file.