Skip to content

A template repo for a simple Hello World web app using Ruby and Sinatra

Notifications You must be signed in to change notification settings

ericbottard/hello-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hello-ruby template repo

This template repo provides a simple Hello World web app using Ruby and Sinatra.

It can be deployed as a standalone web app, as a Kubernetes Deployment and Service, or as a Knative Service.

NOTE: This sample is based on the Knative Hello World - Ruby sample.

Build and run the sample locally

To build the container image for this app run:

Docker build -t hello-ruby .

To run the app image with the embedded server you can run this command:

docker run -it --rm -p 8080:8080 hello-ruby

To invoke the app run:

curl localhost:8080/

Knative Service

Knative

You can containerize this template app and deploy it as a Knative Service. See the Hello World - Ruby sample for details.

About

A template repo for a simple Hello World web app using Ruby and Sinatra

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 65.2%
  • Ruby 34.8%