diff --git a/cff-readme.md b/cff-readme.md index 6d590433cf9..84b45206c67 100644 --- a/cff-readme.md +++ b/cff-readme.md @@ -4,9 +4,44 @@ For simplicity, this fork of the repo contains all of the CFF modifications and All of the reveal.js functionality should still be available. Modifications should be additive in nature. +## Developing + +To make development of slides (and this reveal fork) easier, you need to use docker. + +1. Get the image: + ``` + $ docker pull rscale/node + ``` +1. Clone this repo (if you haven't already) +1. You should already have the developer certification repo locally (if not, go get it. we will wait). +1. Run it with the included script (from the root of this repo): + ``` + $ ./docker-run.sh + ``` + Example: + ``` + $ ./docker-run.sh ~/workspace/resilientscale/reveal.js ~/workspace/cloudfoundry/developer-training-course/slides + ``` + This will put you into the running docker container with the correct directory mappings (reveal + slides). In the container: + 1. `cd reveal.js` + 1. `npm install` - You likely only have to do this once. + 1. `npm start` + 1. In a browser, you can now navigate to `http://localhost:8000?pres=` + Example: `http://localhost:8000?pres=cf-mocf-motivators` + + You can change presentations by changing the value of '' without restarting the container. + +### Conventions + +This assumes the following: + +* Slides are in a named folder in `developer-training-course/slides` in a file called `slides.md` (i.e. `developer-training-course/slides/cf-motivators/slides.md`) +* Images should be placed in `developer-training-course/slides//images`. The folder has to be called `images` to avoid conflicts with global images in this repo and to make building easy. +* Image references in slides should be relative to the `` directory: example: `images/some-image.png`. Background images and inline images are both supported using this convention. + ## Sample presentation -A sample presentation is included: `slides.md`. This leverages all of the current functionality and slides layouts. +Check out the `cf-motivators` presentation for examples. ### Last Slide diff --git a/docker-run.sh b/docker-run.sh new file mode 100755 index 00000000000..e807bac6032 --- /dev/null +++ b/docker-run.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +if [ "$1" = "" ] || [ "$2" = "" ]; then + echo $0: usage: $0 path-to-local-reveal-clone path-to-slides-dir + exit +fi + +if [ ! -e $1 ]; then + echo $0: Local reveal clone does not exist: $1 + exit +fi + +if [ ! -e $2 ]; then + echo $0: Slides directory does not exist: $2 + exit +fi + +docker run -v $1:/home/user/reveal.js -v $2:/home/user/reveal.js/slides/ -p 8000:8000 -p 35729:35729 -it --rm rscale/node /bin/bash diff --git a/img/cf-summit-bg.jpg b/img/cf-summit-bg.jpg deleted file mode 100644 index 63b2ccb9541..00000000000 Binary files a/img/cf-summit-bg.jpg and /dev/null differ diff --git a/img/road.png b/img/road.png deleted file mode 100644 index e622f7bad88..00000000000 Binary files a/img/road.png and /dev/null differ diff --git a/index.html b/index.html index 5147b4dd70c..d654cbd553f 100644 --- a/index.html +++ b/index.html @@ -29,7 +29,7 @@
-
+
@@ -52,13 +52,16 @@ // More info https://github.com/hakimel/reveal.js#dependencies dependencies: [ { src: 'plugin/jquery/jquery-3.1.1.min.js' }, + { src: 'plugin/external-markdown/external-markdown.js' }, { src: 'plugin/markdown/marked.js' }, { src: 'plugin/markdown/markdown.js' }, + { src: 'plugin/external-markdown/image-loader.js' }, { src: 'plugin/slide-layout/slide-layout.js' }, { src: 'plugin/notes/notes.js', async: true }, { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } } ] }); + diff --git a/plugin/external-markdown/external-markdown.js b/plugin/external-markdown/external-markdown.js new file mode 100644 index 00000000000..bff05870f0d --- /dev/null +++ b/plugin/external-markdown/external-markdown.js @@ -0,0 +1,22 @@ +(function(){ + + function setSlides() { + $("section.markdown-slides").attr("data-markdown", "slides/" + getQueryParamValue('pres') + "/slides.md"); + window.presentation = getQueryParamValue('pres'); + } + + function getQueryParamValue(paramName) { + var query = window.location.search.substring(1); + var vars = query.split("&"); + for (var i=0;i - -# Cloud Foundry Motivators - -## Why Cloud Foundry? Why now? - ---- - - - -## **Technology** is changing how business is done - -note: Technology is being used in every facet of business. Users expect more. -Automation, AI, ChatOps, etc are affecting where, when and how work gets done. - ---- - -## **Disruption** is inevitable - -note: netflix/blockbuster story. Blockbuster was the leading video rental service & was disrupted by Netflix with streaming as the disruptive technology. Blockbuster even [had the chance to buy Netflix](http://uk.businessinsider.com/blockbuster-ceo-passed-up-chance-to-buy-netflix-for-50-million-2015-7) in 2000 but dismissed it as a "very small niche business". - ---- - - - -Andy Zitney, Allstate Insurance Company - -* "The insurance industry **has not been disrupted** in 80+ years." -* "**Google** is in **40 states now**. 18 months ago, they weren't in any." -* "This industry is going to see an **Uber-like disruption** at a speed and pace that we can't react" - -source: @CF Summit 2015, Santa Clara CA https://youtu.be/04QFKBt6LCI - -note: - -TODO allstate video (04QFKBt6LCI youtube) - -Having anticipated future disruption, based on extrapolating current trends, Andy Zitney & Allstate began to prepare for disruption - ---- - - - -## it is a matter of **survival** - -note: adapt or become Blockbuster - ---- - - -* **mobile** -* **social** -* **data/iot** - - -* -* -* - -note: your users now expect multi-channel experience. Need to leverage technology across the whole tech stack from customer engagement to data services. - ---- - - - -## "In the past, 90% of car value was in hardware. We expect 50% of the value in hardware and the other 50% divided by **software** and **experiences**." - -Don Butler, Executive Director of Connected Vehicles, Ford - -source: https://www.cxotalk.com/episode/connected-vehicles-automobiles-technology-platform-don-butler-ford - -note: if users now value cars based on 50% software value, then Ford knew they had to make more and better software. They had to become a software business - ---- - -## *Every* business is a **software business** - -note: The automotive industry is not unique, rather *every* business will tend to be assessed similarly & must grow software delivery capability - ---- - - - -## **superior experiences** can't be bought -# they are **built** - -note: Off-the-shelf products on which companies can differentiate their businesses just don't exist. These companies are going to be building lots more software themselves. To save time, get a platform that allows you to focus on delivering just business software that adds value for your business, rather than building infrastructure on which to build that software - ---- - -## Avoid lock-in - -note: Platform lock-in is a bad thing, it reduces agility over time. We experienced it as an industry with various on-premise platforms e.g. WebSphere / WebLogic for Java Server, Oracle for RDBMS. AWS has promised much in the Cloud space however it can come with the price of lock-in to their Cloud offering - ---- - - - -## "It's definitely around **speed to market**, but it's also about **getting it right** faster" - -George Sherman, CIO of J.P. Morgan's Global Technology Infrastructure - -source: http://blogs.wsj.com/cio/2015/05/13/j-p-morgan-chase-joins-cloud-foundry-foundation-in-cloud-automation-push/ - -note: the pace of innovation is increasing - ---- - -## maximize the effectiveness of your **organization** and **applications** - -note: Whilst more products and services need to be delivered, budgets & head count may not increase. Don't waste resources doing things that don't differentiate your business. - ---- - -## Disruptors are **leaner** - -note: the disruptors in your market will be leaner than you. They wont have the historical infrastructure baggage, the legacy application code or the legacy process mindsets that come with longevity. - ---- - - - -## "If software is eating the world, **cloud foundry** lets you become the **predator** instead of the prey." - -Dr. Nic Williams, Stark & Wayne - -source: @drnic via Twitter - -note: Cloud Foundry is *the* platform to address these issues. It is open-source, managed by a foundation rather than a single vendor, there are supported distributions if required. Cloud Foundry hides the infrastructure complexity so that you can focus on your value-adding business software