Skip to content

Commit 7eea294

Browse files
authored
Merge pull request #1 from dudash/master
Updates for latest WMATA key
2 parents 8d25963 + 2749817 commit 7eea294

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# openshift-workshops
22
Don't just read about what OpenShift 3 can do - try it for yourself with [these workshops][1]
33

4-
[1]: http://dudash.github.io/openshift-workshops/
4+
[1]: http://redhatgov.io/workshops/openshift_101_dcmetromap/
5+
6+
7+
## Note: the source code & issue tracking for workshop has moved to RedHatGov. Please redirect yourself to:
8+
https://github.com/RedHatGov/redhatgov.github.io/tree/docs/content/workshops/openshift_101_dcmetromap
59

dc-metro-map/README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ A simple example of a node.js + mapbox web application configured to run on Red
66
![Screenshot](./.screens/2016-03-30_2135.png?raw=true)
77

88
## How can I run this?
9-
This app is configured to be deployed and managed via OpenShift. Which means all you'll need to do is click a few buttons and specify some settings.
9+
This app is configured to be deployed and managed via OpenShift. Which means all you'll need to do is click a few buttons and specify some settings. [Here is a link to a lab][5] that walks you through that process.
10+
11+
For more general instructions on OpenShift:
1012
* If you are using OpenShift Online, [follow instructions here][1]
1113
* If you have OpenShift Enterprise, [follow instructions here][2]
1214
* If you are using this as part of a Red Hat workshop, follow the provided instructions instead
@@ -22,3 +24,4 @@ Under the terms of the [MIT][4].
2224
[2]: https://docs.openshift.com/enterprise/latest/welcome/index.html
2325
[3]: https://docs.openshift.org/latest/using_images/s2i_images/nodejs.html
2426
[4]: https://opensource.org/licenses/MIT
27+
[5]: http://redhatgov.io/workshops/openshift_101_dcmetromap/lab3-s2i/

dc-metro-map/routes/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var rest = require('restler');
55
//-----------------------------------------------------------------------------
66
// CONSTANTS AND HELPERS
77
//-----------------------------------------------------------------------------
8-
var API_KEY_PLACEHOLDER = process.env.WMATA_API_KEY || '6b700f7ea9db408e9745c207da7ca827';
8+
var API_KEY_PLACEHOLDER = process.env.WMATA_API_KEY || 'e1eee2b5677f408da40af8480a5fd5a8';
99
var BEERME = process.env.BEERME || false;
1010
var RAINBOW = process.env.RAINBOW || false;
1111
console.log("using WMATA API Key - " + API_KEY_PLACEHOLDER);

dc-metro-map/views/dcmetro.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,4 @@ block content
7575
//- // you could do something with the map layer here
7676
//- });
7777
window.setTimeout(function() { busFeatureLayer.loadURL('/busses.json') }, 10000); // update every 10 seconds
78-
}
78+
}

0 commit comments

Comments
 (0)