Skip to content

Instantly share code, notes, and snippets.

@timroster
Last active November 9, 2018 15:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save timroster/1a665bb168f3160ce8624fc5b02cb909 to your computer and use it in GitHub Desktop.
Save timroster/1a665bb168f3160ce8624fc5b02cb909 to your computer and use it in GitHub Desktop.

Setting up your workstation for IBM Cloud and developing with IBM Developer Code Patterns

To use IBM Cloud in a development scenario, you will need to create an IBMid and install some local tools. At a minimum, you should install the IBM Cloud CLI and a developer text editor. To run code examples locally, you should also install a few development runtimes.

IBMid

  1. Create an IBMid and IBM Cloud public account all in one step. Go to https://console.bluemix.net/registration . Provide your email address. If you have entered in a personal email address or a business address that is not configured for identity federation with IBM, fields for your contact information and Cloud account password will appear. Complete these items and go to step 3.

  2. If your corporate email address corresponds to an enterprise that has identity federation, an IBMid login screen will appear. Select Log in with your company credentials (SSO) option and then provide your email and follow the prompts.

  3. In both cases, you will be sent a confirmation email to the address provided. Open this email and click on the activation link to continue on to the IBM Cloud dashboard

Note: if after entering your email address on the registration page, you see the message "That email address is already registered to an IBM Cloud account." , click on the Log in link. There will be a way to request a password reset from the login page if you have forgotten the password. After logging in, if you are shown a page stating that your trial has expired and is requesting a credit card to continue, send your email address for your IBMid to jrtorres@us.ibm.com and we will work with you and the support team to unlock the account.

Install Docker

Using Docker will allow access to a container for the labs that has been configured with the IBM Cloud CLI, python and node.js runtimes and supports local execution of the application examples.

  1. Go to the Docker Desktop page and install using the installer for your workstation operating system (MacOS, Windows).

Alternate to Docker - install local IBM Cloud CLI

Downloading the IBM Cloud CLI will allow a developer to login and push the lab application examples to the IBM Cloud Foundry runtimes environment. To be able to run the application examples locally instead of on IBM Cloud the python (2.7/3.6 or later) or node.js (8 or later) runtimes need to be installed.

  1. Open the IBM Cloud CLI setup page and install using the installer for your workstation operating system (MacOS, Linux, Windows).

Install a development text editor

To view and edit files used in the code patterns, there are several options. Although OS installed text editors can work in a pinch, these can work much better (listed in no particular order).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment