Last active
January 24, 2017 23:12
-
-
Save mattf/bfd7ea9bcfbe744c682c983076a23519 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: Start up an OpenShift Origin cluster locally | |
oc cluster up | |
: Launch Oshinko in the current project | |
oc new-app -f http://goo.gl/ZU02P4 | |
: Authorize Oshinko to write to the OpenShift API | |
oc policy add-role-to-user edit -z oshinko | |
: Anayltical application demo - counting words by Joyce | |
: joyce writes text to a socket | |
: graaftel uses Spark Streaming to count workds from joyce | |
: and Flask to serve up the counts | |
: Start the joyce service, must be called PRODUCER | |
oc new-app openshift/python-27-centos7~https://github.com/mattf/joyce --name=producer | |
: Start the graaftel service | |
oc new-app radanalyticsio/radanalytics-pyspark:pre-cli~https://github.com/mattf/graaftel | |
: Expose the graaftel web UI | |
oc expose service graaftel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment