This is the tutorial site for the Zero to Cognitive Series. Each chapter in the Tutorial is a completely self contained folder.
We are currently at release 1.2, which includes updates to Chapter 8 (Watson Discover News) and Chapter 9 (Visual Recognition). Release notes are here: https://github.com/rddill-IBM/ZeroToCognitive/releases/tag/1.2 The chapter structure is:
1). The Story, Architecture for this app
3). Building your first Watson App
demo: https://z2c-c03.mybluemix.net/
4). Getting Watson to talk back
demo: https://z2c-c04.mybluemix.net/
demo: https://z2c-c05.mybluemix.net/
6). Creating a custom dialog with Watson
demo: https://z2c-c06.mybluemix.net/
7). SSL, https: sessions and users (set up security, use cloudant for sessionStore, manage user profiles)
demo: https://z2c-c07.mybluemix.net/
8). Understanding the Watson Discovery News APIs
demo: https://z2c-c08.mybluemix.net/
9). Visual Recognition updated directions are in the Chapter09 Readme.pdf
demo: https://z2c-c09.mybluemix.net/
10). Watson Conversations
demo: https://z2c-c10.mybluemix.net/
11). Finding Answers
demo: https://z2c-c11.mybluemix.net/
12). How do I get started on my client app? Design Thinking, Stories, Architecture, Keeping it simple
If you are using IBM Public Bluemix for this tutorial series, IBM is introducing a significant change on January 2nd, moving from DEA (Droplet Execution Environment) to Diego. The tutorial will run without change in this new environment. There are two things you need to understand with this change:
A). VCAP_APP_HOST and VCAP_APP_PORT are no longer available (the apps in the tutorial don't use them, but you might)
B). The upload process changes. You must update your CLI (command line interface) to support Diego. The changes to your CLI are documented here: https://github.com/cloudfoundry-incubator/Diego-Enabler , which tells you to execute the following two commands from your command (terminal) prompt:
cf add-plugin-repo CF-Community https://plugins.cloudfoundry.org/
cf install-plugin Diego-Enabler -r CF-Community
Once you have done that, you will find that there is a new exec in each of the folders: cf-diego
. This exec reads your manifest.yml file for the name of your application and then issues the appropriate cloud foundry (cf) commands and also enables Diego. I've written this exec because now, instead of issuing a single cf push command, you have to issue three commands. This exec issues all three for your automatically.
If you want to resynchronize your fork with this master repository to get all of the latest updates. (First) push (git push
) your latest work to your personal repository, (then) execute the following commands:
git checkout master
git pull [email protected]:ZeroToCognitive.git
git push origin master
The git checkout master
command ensures that your local copy of your personal repository is pointing to the master branch of your local repository. This is the default branch.
The git pull [email protected]:ZeroToCognitive.git
command goes to this repository and brings down all changed files and adds them to your local repository.
The git push origin master
command updates your personal repository on enterprise github with the latest updates you've pulled down from the master repository.