a DEPRECATED Launch Button service for OpenShift V2
Custom launch buttons for instant hosting on open platforms:
Create your own launchers here: launch-shifter.rhcloud.com
To deploy a clone of this application using the rhc
command line tool:
rhc app create launch nodejs-0.10 --from-code=https://github.com/ryanj/launch-service.git
Or link to a web-based clone+deploy on OpenShift Online or on your own OpenShift cloud:
https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=nodejs-0.10&initial_git_url=https%3A%2F%2Fgithub.com%2Fryanj%2Flaunch-service.git
Install dependencies:
npm install
Start a local server:
npm start
To run the related docker image:
docker pull ryanj/launch-service
docker run -d -p 8080:8080 -e "HOSTNAME=localhost" -e "APP_NAME=app_name" ryanj/launch-service
A sample kubernetes pod configuration file is included for running this project's Docker build on an OriginM5 hosting environment:
HOSTNAME=localhost APP_NAME=app_name $GOPATH/src/github.com/openshift/origin/_output/go/bin/openshift kube create pods -c ~/src/launch-service/launch-pod.json
This code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 (http://creativecommons.org/publicdomain/zero/1.0/)