Steps on the mini computer
https://docs.globus.org/globus-connect-personal/install/linux/
sudo apt-get install tk tcllib
wget https://downloads.globus.org/globus-connect-personal/linux/stable/globusconnectpersonal-latest.tgz
tar xzf globusconnectpersonal-latest.tgz
cd globusconnectpersonal-x.y.z
./globusconnectpersonal
Click the link from the cli
Enter in auth code
Add name for the endpoint
pip install globus-cli
globus timer create transfer --notify failed --interval 10m --recursive --sync-level mtime 4af299cc-2f37-11ef-9620-453c3ae125a5:/home/benchbot/benchbot-brain-app/mini_computer_api/images/ "ea8aff4a-274e-4c48-bc23-5b93da0cc941:/semifield-upload/"
Run globus login
Enter auth code
Run
crontab -e
and append*/10 * * * * /home/benchbot/benchbot-brain-app/mini_computer_api/delete_uploaded_images.sh >> /home/benchbot/benchbot-brain-app/mini_computer_api/logs/file_deletion_output.log 2>&1
For further investigation (Setting up a Globus application and using app id + secret)
Register a service account
Name project
Name app
Add secret, copy somewhere safe
Add permissions to destination: paste in the client identity (<CLIENTID>@clients.auth.globus.org) as the Username or Email when adding the permission.
Add Comment