appuio/example-php-sti-helloworld

Name: example-php-sti-helloworld

Owner: APPUiO

Description: null

Created: 2016-02-24 10:13:51.0

Updated: 2018-01-01 19:20:55.0

Pushed: 2017-11-22 13:50:15.0

Homepage: null

Size: 285

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

PHP source to image Helloworld Example

This is an example php application, which can be deployed to APPUiO using the following commands

How to deploy
Webconsole
CLI / oc Client
Create New OpenShift Project
 new-project example-php-sti-helloworld
Create Application and expose Service
 new-app https://github.com/appuio/example-php-sti-helloworld.git --name=appuio-php-sti-example

 expose service appuio-php-sti-example
Add Webhook to trigger rebuilds

Take the Webhook GitHub URL from

 describe bc appuio-php-sti-example

escribe bc appuio-php-sti-example
:           appuio-php-sti-example
ted:        20 seconds ago
ls:         app=appuio-php-sti-example
tations:        openshift.io/generated-by=OpenShiftNewApp
st Version:     1
tegy:       Source
ce Type:        Git
            https://github.com/appuio/example-php-sti-helloworld.git
 Image:     ImageStreamTag openshift/php:latest
ut to:      ImageStreamTag appuio-php-sti-example:latest
gered by:       Config, ImageChange
ook GitHub:     https://[Server]/oapi/v1/namespaces/example-php-sti-helloworld/buildconfigs/appuio-php-sti-example/webhooks/[GitHubsecret]/github
ook Generic:    https://[Server]/oapi/v1/namespaces/example-php-sti-helloworld/buildconfigs/appuio-php-sti-example/webhooks/[genericsecret]/generic

and add the URL as a Webhook in your github Repository, read https://developer.github.com/webhooks/ for more details about github Webhooks


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.