These are some scripts I put together to help use IBM Cloud everyday in a learning environment.
This has been tested with Ubuntu and Fedora. If you try it with other distributions let us know of any bugs!
-
Get a IBM Cloud account setup
-
Download and install git
ubuntu$ sudo apt -y install git
fedora$ sudo dnf -y install git
- Get the IBM Cloud CLI as per the instructions here https://cloud.ibm.com/docs/cli.
git clone https://github.com/tommccallum/ibmcloud-scripts
cd ibmcloud-scripts
./install.sh
export PATH=$PATH:$(pwd)/bin
You will want to add the following to your .bashrc or .bash_profile file:
export PATH=$PATH:<location of ibmcloud-scripts>/bin
We recommend you create an api key for yourself to save you some typing! Keep this safe though.
./ibm_create_login_key.sh