Skip to content

Clone Agave API CLI Repository

Andrew Magill edited this page Jul 11, 2016 · 25 revisions

#####Previous Step - Installing Git


######If you do not have Git installed on your local system, please follow the link above to download an installer.

Create a directory called Agave (or another name that you prefer):

$ mkdir ~/Agave

#####Clone the repository:

######Option 1 - Clone with Git

$ cd ~/Agave
$ git clone https://bitbucket.org/taccaci/foundation-cli

######Option 2 - Download

Download the Agave API CLI respository, and unzip into your new ~/Agave folder.

#####Configuration:

Add the following lines to your shell login config file (e.g. ~/.bash_profile):

# Include the Agave API bin directory in your PATH
export PATH=$PATH:~/Agave/foundation-cli/bin

# Export environment variables for your CyVerse login credentials
export AGAVE_USERNAME=...   
export AGAVE_PASSWORD=...

Source your config file for the changes to take effect.

$ source ~/.bash_profile

#####Next Step - Initialize CyVerse Tenant

Clone this wiki locally