Skip to content

A demo application to deploy on Oracle Container Engine as part of a Wercker tutorial

Notifications You must be signed in to change notification settings

riceo/wercker-oke-demo

Repository files navigation

Wercker OKE Demo: Get IP address HTTP API

A simple Python application that uses the Bottle framework to serve a JSON encoded client IP address of a user who makes a GET request to /.

Used as an example application for a tutorial on Wercker I am writing.

usage: get_ip.py [-h] hostname port

HTTP API for returning a visitor's IP address.

positional arguments:
  hostname    The host IP to listen on.
  port        The port to listen on.

optional arguments:
  -h, --help  show this help message and exit

Requires Python 2 pip & virtualenv to run.

About

A demo application to deploy on Oracle Container Engine as part of a Wercker tutorial

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published