Skip to content

Pre-requisite development environment steps before working on any of the labs

Notifications You must be signed in to change notification settings

IBMCloudLabs/Dev-Env-Setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 

Repository files navigation

Dev-Env-Setup

Pre-requisite development environment steps to follow before working on any of the labs

Note: If you have any questions about anything here, post it in the #general channel of the [https://watson-dev.slack.com](Watson Dev) Slack team. You should have an invite to it in your email. If you don't, open an issue here with your IBM email to be added. Note: you must have already registered with Github.

  1. Bluemix Registration - MOST IMPORTANT STEP, MUST-DO

    • Sign up for Bluemix at www.bluemix.net with IBM email address.
    • Increase your Bluemix services and memory. Specifically: request 4 GB of memory and 15 services, plus 6 month access to Bluemix (for IBMers only). You can use either of the two methods:
  2. With your newly registered Bluemix account, log into Bluemix DevOps Services and pick an alias (which will be part of every project that you create).

  3. Sign up for GitHub

  4. Download and Install a light-weight text editor.

  1. (Windows Only): Download Git Bash. Go here and click the “Download for Windows” button. Install it and accept all defaults.

  2. Install Cloud Foundry command-line interface.

  • Windows: Go here and pick the “Installer” under windows for your distribution.

  • Mac OS: Run the following command in your Terminal app.

    curl -L "https://cli.run.pivotal.io/stable?release=macosx64-binary&source=github" | tar -zx
    
  • Verify the version: cf --version

Reference: https://github.com/cloudfoundry/cli#downloads

  1. Install Node and npm.

    • Windows: Link to download. Once downloaded, install it.
    • Mac OS: Type the following commands in your terminal for Homebrew and node
    curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install
    Brew install node
    
  • Verify the installation by typing node -v or npm -v in Git Bash/Terminal
  1. Install Python 2.7
  • Verify the version in your terminal (GitBash in Windows, terminal in Mac): 'python --version'
  1. Provision Alchemy.
  • After signing into Bluemix, click on "Catalog" in the top right hand corner.
  • Then click on "Watson" in the left hand bar.
  • Click on Alchemy and "create."
  1. Create an Internet of Thing Platform Starter Boilerplate App and fix their boilerplate code.
    • Go to the Boilerplate section of the Catalog here and create an app (give it a name, etc).
    • Once created, go to the overview tab on the left, scroll down and on the bottom right Enable Continuous Delivery
    • Ensure you Authorize Continuous Delivery to use your GitHub account for source control and then Create the toolchain
    • Once configured, click on the GitHub tile and then click on the package.json file
    • Edit the node engine, changing it from 4.x to 6.x and then commit that change.
    • You may watch the code be delivered through the pipeline tool in the toolchain.
    • You now have a working Boilerplate to do all following node red labs with.

Optional steps / Nice to haves

  1. Install Postman

References:

  1. https://docs.npmjs.com/getting-started/installing-node

Prep material

Modern Programming Fundamentals

  1. JavaScript http://eloquentjavascript.net/ https://www.codecademy.com/learn/javascript Node.js, https://nodejs.org/en/
  2. Git tutorial https://www.codecademy.com/learn/learn-git

Extra FYI

  1. Microservices Architecture https://www.nginx.com/blog/introduction-to-microservices/ http://searchitoperations.techtarget.com/definition/microservices 12 factor app http://12factor.net/
  2. Pair Programming http://www.extremeprogramming.org/rules/pair.html

About

Pre-requisite development environment steps before working on any of the labs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •