Skip to content

tourunen/simple-bottle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple-bottle

This is a skeleton Python/Bottle project for OpenShift. Clone, run, fork and modify!

# Clone the source
git clone https://github.com/tourunen/simple-bottle.git

# Create a new project for testing
# (Don't actually use oc-in-a-bottle. Come up with your own unique name. You can do it!)
oc new-project oc-in-a-bottle

# Create the application, check the build logs 
cd simple-bottle
oc new-app . --context-dir src/ --name simple-bottle
oc logs -f bc/simple-bottle

# Create a route
oc create route edge bottle-route --insecure-policy='Redirect' --service simple-bottle
oc get route

# Check that it works
curl https://[application_domain_name_from_above]/healthz

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published