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.
-
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:
- Fill out this form, or
- Submit a new ticket through the Client Success Portal
-
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).
-
Sign up for GitHub
-
Download and Install a light-weight text editor.
- Download Sublime Text (more stable) and/or Atom (bleeding edge).
-
(Windows Only): Download Git Bash. Go here and click the “Download for Windows” button. Install it and accept all defaults.
-
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
-
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
ornpm -v
in Git Bash/Terminal
- Verify the version in your terminal (GitBash in Windows, terminal in Mac): 'python --version'
- 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."
- 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 thenCreate
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
to6.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.
- Install Postman
- JavaScript http://eloquentjavascript.net/ https://www.codecademy.com/learn/javascript Node.js, https://nodejs.org/en/
- Git tutorial https://www.codecademy.com/learn/learn-git
- Microservices Architecture https://www.nginx.com/blog/introduction-to-microservices/ http://searchitoperations.techtarget.com/definition/microservices 12 factor app http://12factor.net/
- Pair Programming http://www.extremeprogramming.org/rules/pair.html