Skip to content

This is a simple php application, which tracks todo items in a PostgreSQL DB.

License

Notifications You must be signed in to change notification settings

Project31/todo-example

 
 

Repository files navigation

TODO App Example

This is a simple php application, which tracks todo items in a PostgreSQL DB.

How to deploy

CLI / oc Client

Create Application and expose Service

# Create the DB for the app..
$ oc new-app openshift/postgresql-92-centos7 \
	--name=postgres \
    -e POSTGRESQL_DATABASE=todo \
    -e POSTGRESQL_USER=test \
    -e POSTGRESQL_PASSWORD=password

# Spin up the app.
$ oc new-app https://github.com/syndesisio/todo-example.git \
    --name=todo \
    -e TODO_DB_SERVER=postgres \
    -e TODO_DB_USER=test \
    -e TODO_DB_PASS=password 

# Create a route that you can access
$ oc expose service todo
$ oc get routes todo

About

This is a simple php application, which tracks todo items in a PostgreSQL DB.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.3%
  • Dockerfile 3.2%
  • CSS 0.5%