sintra demo
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore jack config download hi-web-stag-1 Nov 30, 2016
Gemfile simple sinatra hi world example Feb 3, 2015
Gemfile.lock update gems Jun 16, 2018
ecs-service.json add ecs-service.json Sep 10, 2017

Test Project for Demo

This project contains a small sinatra app that prints out some text. It listens on the default 4567 port.

Testing Locally with Mac OSX

$ git clone
$ cd sinatra
$ bundle
$ ruby hi.rb

Testing Locally with Docker

The app is also dockerized so you can test this via docker.

$ docker build -t tongueroo/sinatra . # you can skip this step if you want to just pull the image from DockerHub.
$ docker run --rm -d -p 4567:4567 --name hi tongueroo/sinatra
$ curl localhost:4567 ; echo
$ docker stop hi ; docker rm hi

This demo project was used in these blog posts: